mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:28:13 +00:00
TextEditor: Added a setter for soft_tab_width
This commit is contained in:
parent
78f0cabb17
commit
0071dc7be4
1 changed files with 1 additions and 0 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue