mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
stupid off-by-one error in r25373
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25375 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
71860fbc86
commit
2c0f0d3312
@ -621,7 +621,7 @@ bool Text::cursorBackwardOneWord(Cursor & cur)
|
|||||||
--pos;
|
--pos;
|
||||||
|
|
||||||
// Skip over either a non-char inset or a full word
|
// Skip over either a non-char inset or a full word
|
||||||
if (pos != 0 && !par.isLetter(pos) && !par.isChar(pos - 1))
|
if (pos != 0 && !par.isLetter(pos - 1) && !par.isChar(pos - 1))
|
||||||
--pos;
|
--pos;
|
||||||
else while (pos != 0 && par.isLetter(pos - 1))
|
else while (pos != 0 && par.isLetter(pos - 1))
|
||||||
--pos;
|
--pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user