Re: [Patch] Re: reproducable crash

2002-03-05 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> This is the correct patch: ... and you were faster than me to commit it! JMarc

Re: [Patch] Re: reproducable crash

2002-03-05 Thread Martin Vermeer
On Tue, Mar 05, 2002 at 05:26:55PM +0100, Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > >> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: ... > | Martin> ...when the only definition of applyLayout I can find expects > | Martin> a string argument

Re: [Patch] Re: reproducable crash

2002-03-05 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > | Martin> Ehh, text.C: > | Martin>// well this is the caption hack since one caption is | Martin> really enough if (layout.labeltype == LABEL_SENSITIVE) { if | Martin> (!cursor.pos

Re: [Patch] Re: reproducable crash

2002-03-05 Thread Jean-Marc Lasgouttes
> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: Martin> Ehh, text.C: Martin>// well this is the caption hack since one caption is Martin> really enough if (layout.labeltype == LABEL_SENSITIVE) { if Martin> (!cursor.pos()) // set to standard-layout Martin> cursor.par()->applyLayo

Re: [Patch] Re: reproducable crash

2002-03-05 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | Ehh, > | text.C: > |// well this is the caption hack since one caption is really enough |if (layout.labeltype == LABEL_SENSITIVE) { | if (!cursor.pos()) | // set to standard-layout | cursor.par()->applyLayout(0); | e

[Patch] Re: reproducable crash

2002-03-05 Thread Martin Vermeer
Ehh, text.C: // well this is the caption hack since one caption is really enough if (layout.labeltype == LABEL_SENSITIVE) { if (!cursor.pos()) // set to standard-layout cursor.par()->applyLayout(0); else // set to standard-layout cursor.par()->

Re: reproducable crash

2002-03-05 Thread Martin Vermeer
Further info: Attached a minimum test file producing the effect, containing little more than the figure float itself. Still crashes. 1. Changing the caption to standard layout removes the crash, but produces lots of Operator[] called with empty n 2. Changing back to caption makes the t

Re: reproducable crash

2002-03-05 Thread Martin Vermeer
On Tue, Mar 05, 2002 at 03:11:25PM +0100, Edwin Leuven wrote: > 1. Go to figure float at the end of attached document > 2. Put cursor at beginning of caption > 3. hit enter > > Crash: Confirmed. You can put the cursor *anywhere* in the caption and still get a crash. There's just no way to get