]> git.lyx.org Git - features.git/commit
Set language to OS input language when moving cursor
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 19 Jul 2019 09:46:35 +0000 (11:46 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:37 +0000 (15:48 +0200)
commita619d282d878d93df6dee432d7d67d168a6f0d6a
tree2bb093c6c00b6364eb0d887a379ede369b0cda6c
parentb8624e0474aa44b1f24a8219713b0a0fd4992062
Set language to OS input language when moving cursor

Instead of setting language from context when moving the cursor, set
it to the OS input language. This behavior will probably need to be
controlled by a preference, since not everybody changes keyboard
mapping when changing language.

This required to move BufferView::setCursorLanguage to
Cursor::setLanguageFromInput().
src/BufferView.cpp
src/BufferView.h
src/Cursor.cpp
src/Cursor.h
src/Language.cpp
src/frontends/qt4/GuiApplication.cpp