mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00:00
LibGUI: Don't recompute line-wrapping over and over during set_text()
This makes the TextEditor start up fast for large files again.
This commit is contained in:
parent
9a157b5e81
commit
fc14bdd442
4 changed files with 36 additions and 16 deletions
|
@ -133,6 +133,7 @@ private:
|
|||
virtual void document_did_remove_line(int) override;
|
||||
virtual void document_did_remove_all_lines() override;
|
||||
virtual void document_did_change() override;
|
||||
virtual void document_did_set_text() override;
|
||||
|
||||
void create_actions();
|
||||
void paint_ruler(Painter&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue