>>>>> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes:

>>  But, cursorLeftOneWord requires a word, doesn't it?

Alfredo> I don't quite get the sense in that phrase. Do you meant
Alfredo> "LCursor" intead of "word" ?

Yes :)
 
>> An alternative way of doing it would be not to use
>> cursorLeftOneWord at all, but do the move to the left 'by hand'.
>> Would you prefer that?

Alfredo> Ah, I see (if the above is true). I think that probably the
Alfredo> cleanest way would be to have the word "identifier" functions
Alfredo> to operate at the slice level, and have cursorLeftOneWord and
Alfredo> getWord to to use them independently (and build/modify the
Alfredo> appropriate deep cursor). But of course, it may me just a
Alfredo> matter of taste. I'd apply what you have and leave the
Alfredo> "political" bussiness for later.

OK, I'll do that then.

Alfredo> One think I don't like so much in the current way of going is
Alfredo> that some LyXText methods use deep cursors but just operate
Alfredo> on a slice they "own", and this is pretty much error prone.

Yes, and very confusing.

Alfredo> It may make sense at some point to have LyXText methods to
Alfredo> just use slices, and move all "deep" methods out of LyXText
Alfredo> (lyxtext_funcs again or else).

Alfredo> I think that the thing needs some discussion. Hopefully on
Alfredo> the LDM?

Yes, hopefully.

JMarc

Reply via email to