1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:45:07 +00:00

GTextEditor: Improvements to cursor rendering.

The view now scrolls along with you as you move the cursor around.
This commit is contained in:
Andreas Kling 2019-03-07 13:13:25 +01:00
parent dff57909a7
commit 1ac71d1fb1
4 changed files with 31 additions and 27 deletions

View file

@ -104,6 +104,7 @@ int main(int argc, char** argv)
window->set_rect(20, 200, 640, 400);
window->set_main_widget(widget);
window->set_should_exit_app_on_close(true);
text_editor->set_focus(true);
window->show();
return app.exec();