TextEditor: Add vim status indicators to the statusbar

When using the VimEditingEngine in the TextEditor, vim's mode and the
previous key are shown in the editor's statusbar.
This commit is contained in:
Zac 2021-01-27 15:49:29 +10:00 committed by Andreas Kling
commit bd6d0d2295
Notes: sideshowbarker 2024-07-18 22:38:32 +09:00
10 changed files with 171 additions and 20 deletions

View file

@ -30,6 +30,11 @@
namespace GUI {
RegularEditingEngine::RegularEditingEngine()
{
m_editing_engine_type = EditingEngineType::Regular;
}
CursorWidth RegularEditingEngine::cursor_width() const
{
return CursorWidth::NARROW;