On Tue, Jan 13, 2004 at 01:01:38PM +0100, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
> 
> > No, the cursor top is its 'tip', i.e. in the insets.
> 
> But this new slice will be the position inside this tip, right?

No.

> (when you talk of main LyX text you refer to inner one?). Or maybe
> not. If you refer to the root one, read on.

I use 'main text' to refere to the big root text.

> I don't understand why we have to distinguish between "main" LyXText and
> inner LyXText at all.

Me neither, that's why I am trying to build a scheme that does not
distinguish between them if possible.

That's why I don't store the root slice separately but at the bottom of
the stack of inset slices.

> The old LCursor used to be enough to point to the inner inset (it
> was void for the main one).

Yes, but it started of in the 'outermost inset', not in the root text.

> We only miss the position in that inset.
> I.e. one can think that we only miss an aditional textcursor to the
> old LCUrsor? (or its mathed/text hybrid eq.)

Indeed. And I added this textcursor to the bottom of the LCursor stack
(or later the hybrid), so we've all of them together in one place:
LCursor.


Andre'

Reply via email to