mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:37:36 +00:00
Revert "TextEditor: Add vim status indicators to the statusbar"
This reverts commit bd6d0d2295
.
This commit is contained in:
parent
d4f40241f1
commit
31e04907b4
10 changed files with 20 additions and 171 deletions
|
@ -37,11 +37,6 @@ enum CursorWidth {
|
|||
WIDE
|
||||
};
|
||||
|
||||
enum EditingEngineType {
|
||||
Regular,
|
||||
Vim
|
||||
};
|
||||
|
||||
class EditingEngine {
|
||||
AK_MAKE_NONCOPYABLE(EditingEngine);
|
||||
AK_MAKE_NONMOVABLE(EditingEngine);
|
||||
|
@ -56,15 +51,11 @@ public:
|
|||
|
||||
virtual bool on_key(const KeyEvent& event);
|
||||
|
||||
EditingEngineType type() const { return m_editing_engine_type; }
|
||||
|
||||
protected:
|
||||
EditingEngine() { }
|
||||
|
||||
WeakPtr<TextEditor> m_editor;
|
||||
|
||||
EditingEngineType m_editing_engine_type;
|
||||
|
||||
void move_one_left(const KeyEvent& event);
|
||||
void move_one_right(const KeyEvent& event);
|
||||
void move_one_up(const KeyEvent& event);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue