On Mon, Nov 19, 2001 at 06:37:23PM +0200, Dekel Tsur wrote:
> I've attached a patch that fix the return value of InsetFormula::latex.
> The fix is done by counting the number of \n chars in every string that is
> written to WriteStream.

Looks ok.

You could apply/commit it if you want, I have a few changes that I do not
want to commit yet...

> A more efficient solution is to check for \n only in
> WriteStream::operator<<(char c), but this will make the code ugly, because
> we will then need to use 
>   os << "\begin{equation}" << '\n'
> instead of
>   os << "\begin{equation}\n"

Yes. And not that that's not exactly a performance bottleneck here...

Andre'

-- 
André Pönitz .............................................. [EMAIL PROTECTED]

Reply via email to