diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-11 04:01:17 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-11 04:01:17 +0200 |
commit | c71ece77fab1ae568acbc14a7a9c756a84e62470 (patch) | |
tree | 1ad3290d552a75350be3d7befeded4f190577f95 /LibGUI | |
parent | c6ffb3e2b87d1a1564cc3e1c4ab840f3ea8c9ec3 (diff) | |
download | serenity-c71ece77fab1ae568acbc14a7a9c756a84e62470.zip |
VisualBuilder: Tweak grid size and add an (empty) toolbox window.
Diffstat (limited to 'LibGUI')
-rw-r--r-- | LibGUI/GTextEditor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/LibGUI/GTextEditor.h b/LibGUI/GTextEditor.h index 3e964a5522..3af851c674 100644 --- a/LibGUI/GTextEditor.h +++ b/LibGUI/GTextEditor.h @@ -71,6 +71,9 @@ public: bool is_single_line() const { return m_type == SingleLine; } bool is_multi_line() const { return m_type == MultiLine; } + bool is_ruler_visible() const { return m_ruler_visible; } + void set_ruler_visible(bool b) { m_ruler_visible = b; } + Function<void()> on_cursor_change; void set_text(const String&); |