diff options
author | huttongrabiel <huttonthomas@icloud.com> | 2022-05-18 22:34:23 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-26 21:51:23 +0100 |
commit | 2cfbb9a0e812b0e96c7b7cd93a82c42d005e9f94 (patch) | |
tree | 6edd80b9770be293ad1e5fe75cac17fa550bd92e /Userland/Libraries/LibGUI/VimEditingEngine.h | |
parent | 8ffa860bc3cb45673c3cb7fb617259df60c987da (diff) | |
download | serenity-2cfbb9a0e812b0e96c7b7cd93a82c42d005e9f94.zip |
LibGUI: Implement case inversion in Vim emulation
When in visual mode with text selected, on Key_Tilde press, uppercase
characters convert to lowercase and lowercase ones to uppercase.
Diffstat (limited to 'Userland/Libraries/LibGUI/VimEditingEngine.h')
-rw-r--r-- | Userland/Libraries/LibGUI/VimEditingEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/VimEditingEngine.h b/Userland/Libraries/LibGUI/VimEditingEngine.h index d9e956524a..f3b372890f 100644 --- a/Userland/Libraries/LibGUI/VimEditingEngine.h +++ b/Userland/Libraries/LibGUI/VimEditingEngine.h @@ -162,7 +162,8 @@ private: enum class Casing { Uppercase, - Lowercase + Lowercase, + Invertcase }; VimMode m_vim_mode { VimMode::Normal }; |