mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibGUI: Register gutter and ruler GML properties for TextEditor
This commit is contained in:
parent
acb91d7869
commit
2424858c32
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ TextEditor::TextEditor(Type type)
|
|||
{
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
REGISTER_STRING_PROPERTY("placeholder", placeholder, set_placeholder);
|
||||
REGISTER_BOOL_PROPERTY("gutter", is_gutter_visible, set_gutter_visible);
|
||||
REGISTER_BOOL_PROPERTY("ruler", is_ruler_visible, set_ruler_visible);
|
||||
REGISTER_ENUM_PROPERTY("mode", mode, set_mode, Mode,
|
||||
{ Editable, "Editable" },
|
||||
{ ReadOnly, "ReadOnly" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue