Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:
| >>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes:
|
| Juergen> On 11-May-2001 Lars Gullik Bjønnes wrote:
| >> This is actually easy to differenciate... in InsetFoot we know how
| >> many lines the footnote-body consist of. the problem then is line
| >> length.
|
| Juergen> The problem is also that we don't know at what position we
| Juergen> actually are on the actual line when starting outputting the
| Juergen> footnote.
|
| That's why I am advocating handling this line length stuff in ostream.
| We would just output the characters to the stream and a lyx::brkspc
| (or any name which stands for breakable space) when appropriate. Then
| the stream would have the last line in construction in memory and
| would output it to the underlying real stream when it is complete. We
| also would need some special handling for std::endl (so that it does
| not add a line break when the current line is already empty) and a
| lyx::endp to end a paragraph.
Note that we don't use (almost) std::endl when outputting to streams,
only when outputting to lyxerr/cerr
--
Lgb