summaryrefslogtreecommitdiff
path: root/LibGUI/GTextEditor.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-10 11:08:36 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-10 11:08:36 +0100
commit8017c1e17c7a7cc7a218ed8fbf05e8e5397e76cb (patch)
tree937c6542858254c7f5800f0ef86569516ab9f0f6 /LibGUI/GTextEditor.h
parent64237c5028eecf791850619c818d004bb53ed124 (diff)
downloadserenity-8017c1e17c7a7cc7a218ed8fbf05e8e5397e76cb.zip
GTextEditor: Let the Tab key insert up to 4 spaces.
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 28c30e709f..de6e0355a5 100644
--- a/LibGUI/GTextEditor.h
+++ b/LibGUI/GTextEditor.h
@@ -150,5 +150,6 @@ private:
bool m_cursor_state { true };
bool m_in_drag_select { false };
int m_line_spacing { 2 };
+ int m_soft_tab_width { 4 };
GTextRange m_selection;
};