summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/TextEditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.h')
-rw-r--r--Userland/Libraries/LibGUI/TextEditor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.h b/Userland/Libraries/LibGUI/TextEditor.h
index 46949770a7..a841dd0982 100644
--- a/Userland/Libraries/LibGUI/TextEditor.h
+++ b/Userland/Libraries/LibGUI/TextEditor.h
@@ -85,6 +85,7 @@ public:
void set_automatic_indentation_enabled(bool enabled) { m_automatic_indentation_enabled = enabled; }
virtual int soft_tab_width() const final { return m_soft_tab_width; }
+ void set_soft_tab_width(int width) { m_soft_tab_width = width; };
WrappingMode wrapping_mode() const { return m_wrapping_mode; }
bool is_wrapping_enabled() const { return m_wrapping_mode != WrappingMode::NoWrap; }