>>>>> "Etienne" == Etienne Grossmann <[EMAIL PROTECTED]> writes:
Etienne> Hello,
Etienne> sorry for sending a duplicate message (the previous was
Etienne> subject-less).
JMarc> Etienne> It should be possible to modify word-forward in that
JMarc> sense Etienne> too. Can I submit a patch? Let's say, within
JMarc> three days?
JMarc>
JMarc> Well, I don't know. We should probably make new common
JMarc> functions to find previous and next words and use that in all
JMarc> word-related functions. Maybe for 1.0.1. In any case, if you
JMarc> can provide a patch to unify word function, it would be nice.
Etienne> 2 -- Change the declaration
Etienne> LyXText::CursorRightOneWord()
Etienne> to
Etienne> LyXText::CursorRightOneWord( bool skip_punctuation_too = 0)
Etienne> and replace calls
Etienne> CursorRightOneWord()
Etienne> by
Etienne> CursorRightOneWord( 1 )
this would be 'true' of course ;)
Etienne> where this is wanted.
You could also decide to change CursorRightOneWord to never skip
punctuation. This is what emacs does, in fact (it goes at the end of
the current word). It seems to me that the few uses of
CursorRightOneWord in the code would not be hurt by this change.
What do you think?
JMarc
PS: until we decide what to do, I will not apply your
word-delete-forward patch.