mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibGUI: Register the "text" property on GUI::TextEditor
This commit is contained in:
@@ -53,6 +53,8 @@ namespace GUI {
|
||||
TextEditor::TextEditor(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
REGISTER_STRING_PROPERTY("text", text, set_text);
|
||||
|
||||
set_accepts_emoji_input(true);
|
||||
set_override_cursor(Gfx::StandardCursor::IBeam);
|
||||
set_background_role(ColorRole::Base);
|
||||
@@ -70,6 +72,7 @@ TextEditor::TextEditor(Type type)
|
||||
});
|
||||
m_automatic_selection_scroll_timer->stop();
|
||||
create_actions();
|
||||
|
||||
}
|
||||
|
||||
TextEditor::~TextEditor()
|
||||
|
||||
Reference in New Issue
Block a user