summaryrefslogtreecommitdiff
path: root/LibGUI/GTextEditor.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-08 15:55:58 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-08 15:55:58 +0100
commitc4937f01d8fbd329683360bedd2a9b6029456a39 (patch)
tree76620feecdc53f5084bc2a9e3585af0dabd8e07a /LibGUI/GTextEditor.h
parent5602f3be6cc2d02e84b18ebe95c251706573ab76 (diff)
downloadserenity-c4937f01d8fbd329683360bedd2a9b6029456a39.zip
GTextEditor: Simplify delete_selection().
Diffstat (limited to 'LibGUI/GTextEditor.h')
-rw-r--r--LibGUI/GTextEditor.h1
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.