Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Dov Feldstern wrote: Dov Feldstern wrote: Dov Feldstern wrote: Stefan Schimanski wrote: There's also a separate case, but it doesn't manifest itself in cursor movement (in terms of affecting the number of keystrokes between positions): if I'm between emph and normal text, and type a character

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Andre Poenitz
On Thu, May 31, 2007 at 12:14:25AM +0300, Dov Feldstern wrote: > Andre Poenitz wrote: > > > >I am also uncertain whether > > > > cur.paragraph().isNewline(cur.pos() + 1) && > > cur.paragraph().isLineSeparator(cur.pos() + 1) && > > cur.para

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Dov Feldstern wrote: Stefan Schimanski wrote: Am 30.05.2007 um 22:53 schrieb Dov Feldstern: Dov Feldstern wrote: Why should that correct? The condition will never be true because no character is newline and separator at the same time. Hmm... right... maybe some of those should be "or"s. Bu

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Andre Poenitz wrote: I am also uncertain whether cur.paragraph().isNewline(cur.pos() + 1) && cur.paragraph().isLineSeparator(cur.pos() + 1) && cur.paragraph().isSeparator(cur.pos() + 1)) makes much sense. Right, we're past that stage alrea

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Andre Poenitz
On Wed, May 30, 2007 at 11:12:32PM +0300, Dov Feldstern wrote: > Index: lyx-devel/src/Text2.cpp > === > --- lyx-devel.orig/src/Text2.cpp 2007-05-30 22:49:48.0 +0300 > +++ lyx-devel/src/Text2.cpp 2007-05-30 22:58:42.0

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Stefan Schimanski wrote: Am 30.05.2007 um 22:53 schrieb Dov Feldstern: Dov Feldstern wrote: Why should that correct? The condition will never be true because no character is newline and separator at the same time. Hmm... right... maybe some of those should be "or"s. But obviously they're n

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Stefan Schimanski
Am 30.05.2007 um 22:53 schrieb Dov Feldstern: Dov Feldstern wrote: Why should that correct? The condition will never be true because no character is newline and separator at the same time. Hmm... right... maybe some of those should be "or"s. But obviously they're not really necessary at a

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Dov Feldstern wrote: Why should that correct? The condition will never be true because no character is newline and separator at the same time. Hmm... right... maybe some of those should be "or"s. But obviously they're not really necessary at all... That's what I tried saying a few days ago,

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Dov Feldstern wrote: Dov Feldstern wrote: Stefan Schimanski wrote: There's also a separate case, but it doesn't manifest itself in cursor movement (in terms of affecting the number of keystrokes between positions): if I'm between emph and normal text, and type a character, should it be emph o

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Dov Feldstern wrote: Stefan Schimanski wrote: There's also a separate case, but it doesn't manifest itself in cursor movement (in terms of affecting the number of keystrokes between positions): if I'm between emph and normal text, and type a character, should it be emph or not? Well, if I'm co

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Dov Feldstern
Stefan Schimanski wrote: Type a long line with no spaces (aa) until the line breaks because it's too wide, and continue a bit. Then type a space, and then b... until the moves to a new line. Recall, there is no space in the middle of the , but there is a space between aaa

Re: [patch] Cursor movement fine-tuning

2007-05-30 Thread Stefan Schimanski
Type a long line with no spaces (aa) until the line breaks because it's too wide, and continue a bit. Then type a space, and then b... until the moves to a new line. Recall, there is no space in the middle of the , but there is a space between and . So, start