Re: [PATCH] Bug 3650

2007-05-19 Thread Jürgen Spitzmüller
Richard Heck wrote: The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The issues were two. (i) When the old inset was erased, the iterator became invalid, and the attempt to increment it caused an abort; (ii) after clearing that up, a different abort made it clear that the

Re: [PATCH] Bug 3650

2007-05-19 Thread Abdelrazak Younes
Richard Heck wrote: Index: Paragraph.h === --- Paragraph.h (revision 18413) +++ Paragraph.h (working copy) @@ -359,9 +359,11 @@ /// bool hfillExpansion(Row const row, pos_type pos) const; - /// Check if we are in

Re: [PATCH] Bug 3650

2007-05-19 Thread Bernhard Roider
Abdelrazak Younes schrieb: Richard Heck wrote: Index: Paragraph.h === --- Paragraph.h(revision 18413) +++ Paragraph.h(working copy) @@ -359,9 +359,11 @@ /// bool hfillExpansion(Row const row, pos_type pos) const;

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Bernhard Roider wrote: In general enums are more explicative: enum CursorMove { NoMove, MoveRight, MoveLeft } I did not take a closer look at the code, but shouldn't it be forward and backward instead of right and left? I don't think so. The `right' and `left' don't actually

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Abdelrazak Younes wrote: Richard Heck wrote: Index: Paragraph.h === --- Paragraph.h(revision 18413) +++ Paragraph.h(working copy) @@ -359,9 +359,11 @@ /// bool hfillExpansion(Row const row, pos_type pos)

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Jürgen Spitzmüller wrote: Richard Heck wrote: The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The issues were two. (i) When the old inset was erased, the iterator became invalid, and the attempt to increment it caused an abort; (ii) after clearing that up, a different

Re: [PATCH] Bug 3650

2007-05-19 Thread Jürgen Spitzmüller
Richard Heck wrote: > The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The > issues were two. (i) When the old inset was erased, the iterator became > invalid, and the attempt to increment it caused an abort; (ii) after > clearing that up, a different abort made it clear that

Re: [PATCH] Bug 3650

2007-05-19 Thread Abdelrazak Younes
Richard Heck wrote: Index: Paragraph.h === --- Paragraph.h (revision 18413) +++ Paragraph.h (working copy) @@ -359,9 +359,11 @@ /// bool hfillExpansion(Row const & row, pos_type pos) const; - /// Check if we are in

Re: [PATCH] Bug 3650

2007-05-19 Thread Bernhard Roider
Abdelrazak Younes schrieb: Richard Heck wrote: Index: Paragraph.h === --- Paragraph.h(revision 18413) +++ Paragraph.h(working copy) @@ -359,9 +359,11 @@ /// bool hfillExpansion(Row const & row, pos_type pos)

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Bernhard Roider wrote: >> In general enums are more explicative: >> >> enum CursorMove { >> NoMove, >> MoveRight, >> MoveLeft >> } >> > I did not take a closer look at the code, but shouldn't it be forward > and backward instead of right and left? I don't think so. The `right' and

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Abdelrazak Younes wrote: > Richard Heck wrote: >> Index: Paragraph.h >> === >> --- Paragraph.h(revision 18413) >> +++ Paragraph.h(working copy) >> @@ -359,9 +359,11 @@ >> /// >> bool hfillExpansion(Row const & row,

Re: [PATCH] Bug 3650

2007-05-19 Thread Richard Heck
Jürgen Spitzmüller wrote: > Richard Heck wrote: > >> The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The >> issues were two. (i) When the old inset was erased, the iterator became >> invalid, and the attempt to increment it caused an abort; (ii) after >> clearing that up, a

[PATCH] Bug 3650

2007-05-18 Thread Richard Heck
The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The issues were two. (i) When the old inset was erased, the iterator became invalid, and the attempt to increment it caused an abort; (ii) after clearing that up, a different abort made it clear that the cursor position needed

Re: [PATCH] Bug 3650

2007-05-18 Thread Richard Heck
Richard Heck wrote: NOTE: Some other issues I noticed here, which I'll put in bugzilla if it seems a good idea. (iii) Change the layout of one of these paragraphs to Standard. Shouldn't the bibitem be erased? (This could be handled in checkBiblio without too much effort.) Never mind that

Re: [PATCH] Bug 3650

2007-05-18 Thread Uwe Stöhr
The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. Testing requested, as well as two commit OKs if it seems all right. Works here as expected but we should wait for Jürgen's comment on this. NOTE: Some other issues I noticed here, which I'll put in bugzilla if it seems a

[PATCH] Bug 3650

2007-05-18 Thread Richard Heck
The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. The issues were two. (i) When the old inset was erased, the iterator became invalid, and the attempt to increment it caused an abort; (ii) after clearing that up, a different abort made it clear that the cursor position needed

Re: [PATCH] Bug 3650

2007-05-18 Thread Richard Heck
Richard Heck wrote: > NOTE: Some other issues I noticed here, which I'll put in bugzilla if it > seems a good idea. (iii) Change the layout of one of > these paragraphs to Standard. Shouldn't the bibitem be erased? (This > could be handled in checkBiblio without too much effort.) > Never mind

Re: [PATCH] Bug 3650

2007-05-18 Thread Uwe Stöhr
> The attached addresses http://bugzilla.lyx.org/show_bug.cgi?id=3650. > > Testing requested, as well as two commit OKs if it seems all right. Works here as expected but we should wait for Jürgen's comment on this. > NOTE: Some other issues I noticed here, which I'll put in bugzilla if it >