git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@4449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-06-21 00:12:39 +00:00
parent 13c92a4478
commit 3e2a936b61
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-06-21 John Levon <moz@compsoc.man.ac.uk>
* text.C: stop getWord() at an inset meta char. Not
an ideal solution, but it fixes bug 488
2002-05-17 Herbert Voss <voss@lyx.org>
* lengthcommon.C:

View File

@ -2360,7 +2360,8 @@ void LyXText::getWord(LyXCursor & from, LyXCursor & to,
while (to.pos() < to.par()->size()
&& !to.par()->isSeparator(to.pos())
&& !to.par()->isKomma(to.pos())
&& !to.par()->isHfill(to.pos()))
&& !to.par()->isHfill(to.pos())
&& !to.par()->isInset(to.pos()))
{
to.pos(to.pos() + 1);
}