git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2008-07-08 09:24:28 +00:00
parent 67774abaf2
commit 1f9aaff77b

View File

@ -640,7 +640,7 @@ bool Text::cursorBackwardOneWord(Cursor & cur)
return setCursor(cur, pit - 1, getPar(pit - 1).size()); return setCursor(cur, pit - 1, getPar(pit - 1).size());
if (lyxrc.mac_like_word_movement) { if (lyxrc.mac_like_word_movement) {
// Skip through puctuation and spaces. // Skip through punctuation and spaces.
while (pos != 0 && (par.isChar(pos - 1) || par.isSpace(pos - 1))) while (pos != 0 && (par.isChar(pos - 1) || par.isSpace(pos - 1)))
--pos; --pos;