From 6536a979d83c3c1874185d48ad878791c28406ad Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 1 May 2021 19:09:53 +0200 Subject: [PATCH] LibGUI: Improve a FIXME comment in TextDocument --- Userland/Libraries/LibGUI/TextDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibGUI/TextDocument.cpp b/Userland/Libraries/LibGUI/TextDocument.cpp index 6e0d7728c4..f4c425c078 100644 --- a/Userland/Libraries/LibGUI/TextDocument.cpp +++ b/Userland/Libraries/LibGUI/TextDocument.cpp @@ -28,7 +28,7 @@ TextDocument::TextDocument(Client* client) append_line(make(*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();