On Fri, Oct 24, 2003 at 01:08:47PM +0200, Alfredo Braunstein wrote:
> A simplistic rowbreakpoint sanitizing patch... that works (or seems to).
> It's still somewhat ugly (I'm cleaning it a bit) but loads the UserGuide
> correctly.
> 
> Beware that it introduces a lot of asserts, but if you have the time, please
> test it.

Could you please send patches as attachment? They arrive somewhat broken
here.

Look e.g. at the line starting with '> endl;' below. THis should belong
to the line above.

> Index: text2.C
> ===================================================================
> RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text2.C,v
> retrieving revision 1.484
> diff -u -p -u -r1.484 text2.C
> --- text2.C     24 Oct 2003 09:45:06 -0000      1.484
> +++ text2.C     24 Oct 2003 11:00:22 -0000
> @@ -1311,18 +1311,27 @@ void LyXText::setCursor(LyXCursor & cur,
>  
>         // None of these should happen, but we're scaredy-cats
>         if (pos > pit->size()) {
> -               lyxerr << "dont like 1, pos: " << pos << " size: " << pit->size() <<
> endl;
> +               lyxerr << "dont like 1, pos: " << pos
> +                      << " size: " << pit->size()
> +                      << " row.pos():" << row.pos()
> +                      << " paroffset: " << par << endl;
>                 pos = 0;

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to