mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
Since set_cursor() may be called after arbitrary document changes, it can't rely on the old cursor being valid. To make things simple, if the old cursor is on a line no longer in the document, just repaint the whole editor.
32 KiB
32 KiB