]> git.lyx.org Git - lyx.git/blobdiff - src/Text.cpp
List all exportable document formats in the Save As dialog, not only the selection...
[lyx.git] / src / Text.cpp
index 38e865f039158e142972385bd41428aec59a0b5b..5bb70418eb8023ba7c8a9a70f42eee1cd7bae139 100644 (file)
@@ -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;