mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:07:45 +00:00
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.
This commit is contained in:
parent
8ffa860bc3
commit
2cfbb9a0e8
2 changed files with 9 additions and 1 deletions
|
@ -162,7 +162,8 @@ private:
|
|||
|
||||
enum class Casing {
|
||||
Uppercase,
|
||||
Lowercase
|
||||
Lowercase,
|
||||
Invertcase
|
||||
};
|
||||
|
||||
VimMode m_vim_mode { VimMode::Normal };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue