Some questions relating to Cursor MathAtom

2010-06-14 Thread Sidharth Kshatriya
Hi All, I'm a newbie currently trying to understand the LyX source. It would be awesome if someone could explain to me: * Conceptually what is an anchor in a Cursor? * What does it mean for an inset to be locked ? * What is dispatching in context of Cursors? Can you explain the concept of

Re: Some questions relating to Cursor MathAtom

2010-06-14 Thread Vincent van Ravesteijn
* Conceptually what is an anchor in a Cursor? The anchor is the starting point of a selection. If you have selected the word hello starting from the 'h' to the 'o', the anchor is positioned at 'h' and the cursor at 'o'. * What does it mean for an inset to be locked ? I've no idea, but

Re: Some questions relating to Cursor MathAtom

2010-06-14 Thread Richard Heck
On 6/14/10 3:12 AM, Vincent van Ravesteijn wrote: * What does it mean for an inset to be locked ? I've no idea, but according to the comment: /// returns whether changing mode during latex export is forbidden. I.e., whether we can switch between math mode and text mode. Confusing,

Re: Some questions relating to Cursor MathAtom

2010-06-14 Thread Andre Poenitz
On Mon, Jun 14, 2010 at 09:12:51AM +0200, Vincent van Ravesteijn wrote: * Conceptually what is an anchor in a Cursor? The anchor is the starting point of a selection. If you have selected the word hello starting from the 'h' to the 'o', the anchor is positioned at 'h' and the cursor at 'o'.

Some questions relating to Cursor & MathAtom

2010-06-14 Thread Sidharth Kshatriya
Hi All, I'm a newbie currently trying to understand the LyX source. It would be awesome if someone could explain to me: * Conceptually what is an anchor in a Cursor? * What does it mean for an inset to be "locked" ? * What is "dispatching" in context of Cursors? Can you explain the concept of

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Vincent van Ravesteijn
> * Conceptually what is an anchor in a Cursor? The anchor is the starting point of a selection. If you have selected the word "hello" starting from the 'h' to the 'o', the anchor is positioned at 'h' and the cursor at 'o'. > * What does it mean for an inset to be "locked" ? I've no idea, but

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Richard Heck
On 6/14/10 3:12 AM, Vincent van Ravesteijn wrote: * What does it mean for an inset to be "locked" ? I've no idea, but according to the comment: "/// returns whether changing mode during latex export is forbidden". I.e., whether we can switch between math mode and text mode.

Re: Some questions relating to Cursor & MathAtom

2010-06-14 Thread Andre Poenitz
On Mon, Jun 14, 2010 at 09:12:51AM +0200, Vincent van Ravesteijn wrote: > > * Conceptually what is an anchor in a Cursor? > > The anchor is the starting point of a selection. If you have selected > the word "hello" starting from the 'h' to the 'o', the anchor is > positioned at 'h' and the cursor