diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-03 20:31:58 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-03 21:03:13 +0200 |
commit | d47f15ab8b8ff545864fed2a0e275674c1431549 (patch) | |
tree | fabc103c53afe63cee72a685b6ba69816e922ec7 /Userland/Libraries/LibGUI/TextEditor.cpp | |
parent | 62125796c3227c43db3218e308c85e26cdac2843 (diff) | |
download | serenity-d47f15ab8b8ff545864fed2a0e275674c1431549.zip |
LibGUI: Rename ScrollableWidget => AbstractScrollableWidget
Diffstat (limited to 'Userland/Libraries/LibGUI/TextEditor.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/TextEditor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibGUI/TextEditor.cpp b/Userland/Libraries/LibGUI/TextEditor.cpp index 1e6256ec1b..fcb9bfe542 100644 --- a/Userland/Libraries/LibGUI/TextEditor.cpp +++ b/Userland/Libraries/LibGUI/TextEditor.cpp @@ -729,7 +729,7 @@ void TextEditor::keydown_event(KeyEvent& event) if (is_single_line()) { if (event.key() == KeyCode::Key_Tab) - return ScrollableWidget::keydown_event(event); + return AbstractScrollableWidget::keydown_event(event); if (event.key() == KeyCode::Key_Return) { if (on_return_pressed) @@ -1425,14 +1425,14 @@ void TextEditor::set_text_alignment(Gfx::TextAlignment alignment) void TextEditor::resize_event(ResizeEvent& event) { - ScrollableWidget::resize_event(event); + AbstractScrollableWidget::resize_event(event); update_content_size(); recompute_all_visual_lines(); } void TextEditor::theme_change_event(ThemeChangeEvent& event) { - ScrollableWidget::theme_change_event(event); + AbstractScrollableWidget::theme_change_event(event); if (m_highlighter) m_highlighter->rehighlight(palette()); } @@ -1599,7 +1599,7 @@ void TextEditor::did_change_font() vertical_scrollbar().set_step(line_height()); recompute_all_visual_lines(); update(); - ScrollableWidget::did_change_font(); + AbstractScrollableWidget::did_change_font(); } void TextEditor::document_did_append_line() |