X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FText.cpp;h=5bb70418eb8023ba7c8a9a70f42eee1cd7bae139;hb=4db3e641ed6765e005343010cb90ee8af26f8f99;hp=38e865f039158e142972385bd41428aec59a0b5b;hpb=623d2f9530d040b4644ff9e1f5cedcbea02e8661;p=lyx.git diff --git a/src/Text.cpp b/src/Text.cpp index 38e865f039..5bb70418eb 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -1057,7 +1057,7 @@ bool Text::cursorForwardOneWord(Cursor & cur) return false; } - if (lyxrc.mac_like_word_movement) { + if (lyxrc.mac_like_cursor_movement) { // Skip through trailing punctuation and spaces. while (pos != lastpos && (par.isChar(pos) || par.isSpace(pos))) ++pos; @@ -1099,7 +1099,7 @@ bool Text::cursorBackwardOneWord(Cursor & cur) if (pos == 0 && pit != 0) return setCursor(cur, pit - 1, getPar(pit - 1).size()); - if (lyxrc.mac_like_word_movement) { + if (lyxrc.mac_like_cursor_movement) { // Skip through punctuation and spaces. while (pos != 0 && (par.isChar(pos - 1) || par.isSpace(pos - 1))) --pos;