1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:27:35 +00:00

LibGUI: Improve a FIXME comment in TextDocument

This commit is contained in:
Andreas Kling 2021-05-01 19:09:53 +02:00
parent a7fb50567b
commit 6536a979d8

View file

@ -28,7 +28,7 @@ TextDocument::TextDocument(Client* client)
append_line(make<TextDocumentLine>(*this));
set_modified(false);
// TODO: Instead of a repating timer, this we should call a delayed 2 sec timer when the user types.
// FIXME: Instead of a repeating timer, we should punt a deferred single-shot 2-sec timer on user input.
m_undo_timer = Core::Timer::construct(
2000, [this] {
update_undo_timer();