Re: Cursor displayed at wrong position

2002-09-02 Thread Andre Poenitz
On Mon, Sep 02, 2002 at 03:11:12PM +0300, Dekel Tsur wrote: > I've added an explanation to lyxcursor.h: Good. > /** > * When the cursor position is i, is the cursor is after the i-th char > * or before the i+1-th char ? Normally, these two interpretations are > * equivalent, except when the

Re: Cursor displayed at wrong position

2002-09-02 Thread John Levon
On Mon, Sep 02, 2002 at 03:11:12PM +0300, Dekel Tsur wrote: > I've added an explanation to lyxcursor.h: Thanks very much. regards john -- "Take the ideas you find useful. Try not to get hung up on the labels." - Jonathan S. Shapiro

Re: Cursor displayed at wrong position

2002-09-02 Thread Dekel Tsur
On Mon, Sep 02, 2002 at 09:24:14AM +0200, Andre Poenitz wrote: > > > What is that 'boundary' flag good for for instance? > > > > RTL. > > --verbose please... > > And why does this have to be stored in the cursor. Can't this be determined > from the cursor position? I've added an explanation to

Re: Cursor displayed at wrong position

2002-09-02 Thread Andre Poenitz
On Sat, Aug 31, 2002 at 03:22:29AM +0100, John Levon wrote: > It would be really great if you could add a short explanation of *what* > it does and *why* to lyxcursor.h > > This would really help morons like me from breaking the RTL code > accidentally And morons like me, who don't break things

Re: Cursor displayed at wrong position

2002-09-02 Thread Andre Poenitz
> > What is that 'boundary' flag good for for instance? > > RTL. --verbose please... And why does this have to be stored in the cursor. Can't this be determined from the cursor position? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deser

Re: Cursor displayed at wrong position

2002-08-30 Thread John Levon
On Fri, Aug 30, 2002 at 11:03:14PM +0300, Dekel Tsur wrote: > On Fri, Aug 30, 2002 at 02:45:41PM +0200, Andre Poenitz wrote: > > > > What is that 'boundary' flag good for for instance? > > RTL. It would be really great if you could add a short explanation of *what* it does and *why* to lyxcurs

Re: Cursor displayed at wrong position

2002-08-30 Thread Dekel Tsur
On Fri, Aug 30, 2002 at 02:45:41PM +0200, Andre Poenitz wrote: > > What is that 'boundary' flag good for for instance? RTL.

Re: Cursor displayed at wrong position

2002-08-30 Thread John Levon
On Fri, Aug 30, 2002 at 02:45:41PM +0200, Andre Poenitz wrote: > I wonder why there are all these coordinate members in lyxcursor anyway. Me too (well apart from x_fix) > Shouldn't it be posiible to determine the cursor's position only from > the paragraph and position (using, maybe, some extra

Re: Cursor displayed at wrong position

2002-08-30 Thread Andre Poenitz
On Fri, Aug 30, 2002 at 01:36:49PM +0100, John Levon wrote: > > If I have a displayed formula in a paragraph [I.e. type > > 'foobarfoobar'] and I try to place the cursor in front of the > > formula (after the first foobar, it is displayed at the beginning of the > > line in front of the foobar. Pr

Re: Cursor displayed at wrong position

2002-08-30 Thread John Levon
On Fri, Aug 30, 2002 at 02:34:07PM +0200, Andre Poenitz wrote: > If I have a displayed formula in a paragraph [I.e. type > 'foobarfoobar'] and I try to place the cursor in front of the > formula (after the first foobar, it is displayed at the beginning of the > line in front of the foobar. Pretty