mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
GTextEditor: Support starting with an empty document.
This commit is contained in:
parent
43d56b6f3a
commit
a5bc20c733
Notes:
sideshowbarker
2024-07-19 15:08:15 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a5bc20c7330
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ GTextEditor::GTextEditor(GWidget* parent)
|
|||
m_horizontal_scrollbar->on_change = [this] (int) {
|
||||
update();
|
||||
};
|
||||
|
||||
m_lines.append(make<Line>());
|
||||
}
|
||||
|
||||
GTextEditor::~GTextEditor()
|
||||
|
|
Loading…
Reference in a new issue