This patch makes sure that insetlatexaccents are considered as normal letters by the code that handles words (word-backward/forward, word-select).
I'll apply it shortly. JMarc
Index: src/insets/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/ChangeLog,v retrieving revision 1.1073 diff -u -p -r1.1073 ChangeLog --- src/insets/ChangeLog 9 Nov 2004 19:08:33 -0000 1.1073 +++ src/insets/ChangeLog 10 Nov 2004 13:08:54 -0000 @@ -1,3 +1,8 @@ +2004-11-10 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * insetlatexaccent.h (isLetter): implement, so that word selection + takes accents into account. + 2004-11-09 Georg Baum <[EMAIL PROTECTED]> * ExternalSupport.C, insetgraphics.C: Index: src/insets/insetlatexaccent.h =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insetlatexaccent.h,v retrieving revision 1.65 diff -u -p -r1.65 insetlatexaccent.h --- src/insets/insetlatexaccent.h 16 Feb 2004 11:58:49 -0000 1.65 +++ src/insets/insetlatexaccent.h 10 Nov 2004 13:08:54 -0000 @@ -68,6 +68,9 @@ public: // should this inset be handled like a normal charater bool isChar() const { return true; } + // is this equivalent to a letter? + virtual bool isLetter() const { return candisp; } + /// all the accent types enum ACCENT_TYPES{ ///