mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
GTextEditor: Support starting with an empty document.
This commit is contained in:
@@ -23,6 +23,8 @@ GTextEditor::GTextEditor(GWidget* parent)
|
||||
m_horizontal_scrollbar->on_change = [this] (int) {
|
||||
update();
|
||||
};
|
||||
|
||||
m_lines.append(make<Line>());
|
||||
}
|
||||
|
||||
GTextEditor::~GTextEditor()
|
||||
|
||||
Reference in New Issue
Block a user