diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-08 15:55:58 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-08 15:55:58 +0100 |
commit | c4937f01d8fbd329683360bedd2a9b6029456a39 (patch) | |
tree | 76620feecdc53f5084bc2a9e3585af0dabd8e07a /LibGUI/GTextEditor.h | |
parent | 5602f3be6cc2d02e84b18ebe95c251706573ab76 (diff) | |
download | serenity-c4937f01d8fbd329683360bedd2a9b6029456a39.zip |
GTextEditor: Simplify delete_selection().
Diffstat (limited to 'LibGUI/GTextEditor.h')
-rw-r--r-- | LibGUI/GTextEditor.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GTextEditor.h b/LibGUI/GTextEditor.h index 145b42f1f6..29db7f3d79 100644 --- a/LibGUI/GTextEditor.h +++ b/LibGUI/GTextEditor.h @@ -85,6 +85,7 @@ private: void remove(int index); void append(const char*, int); void truncate(int length); + void clear(); private: // NOTE: This vector is null terminated. |