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:
parent
dff57909a7
commit
1ac71d1fb1
4 changed files with 31 additions and 27 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue