Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:31:08AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: > >> Andre Poenitz wrote: > >> > >> > That's the goal (and that's why I want to drop that current 'math undo > >> > works only on th

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: >> Andre Poenitz wrote: >> >> > That's the goal (and that's why I want to drop that current 'math undo >> > works only on the containing text paragraph and makes the cursor always >> > leave the inset - whi

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:16:37AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > That's the goal (and that's why I want to drop that current 'math undo > > works only on the containing text paragraph and makes the cursor always > > leave the inset - which is a pain to use). > > Yo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 10:05:02AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > 1. an additional std::string field in class Undo plus a math/non-math > > flag telling us whether the ParagraphList (for texted) or the > > string (LaTeX'd math) is valid, or > > Why a str

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > That's the goal (and that's why I want to drop that current 'math undo > works only on the containing text paragraph and makes the cursor always > leave the inset - which is a pain to use). You could also store an LCursor with every undo instance Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Alfredo Braunstein
Andre Poenitz wrote: > 1. an additional std::string field in class Undo plus a math/non-math > flag telling us whether the ParagraphList (for texted) or the > string (LaTeX'd math) is valid, or Why a string instead of a math inset? Alfredo

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Andre Poenitz
On Tue, Feb 03, 2004 at 09:41:03AM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | This removes the math cursor and makes the undo interface less dependend > | on the LyXText. Use LCursor instead, as this can be used from both > | mathed and texted. > > > | I h

Re: [patch] remove math_cursor.[Ch]

2004-02-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | This removes the math cursor and makes the undo interface less dependend | on the LyXText. Use LCursor instead, as this can be used from both | mathed and texted. > | I have disabled undo in math until we made out mind up how to store | mathed undo chun