summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-05-01 19:09:53 +0200
committerAndreas Kling <kling@serenityos.org>2021-05-01 19:42:29 +0200
commit6536a979d83c3c1874185d48ad878791c28406ad (patch)
tree8b2788e3b5b6771e05b4e0cabe3f46e93176ead3
parenta7fb50567beb56a9a2e689ed906abb76e9226421 (diff)
downloadserenity-6536a979d83c3c1874185d48ad878791c28406ad.zip
LibGUI: Improve a FIXME comment in TextDocument
-rw-r--r--Userland/Libraries/LibGUI/TextDocument.cpp2
1 files changed, 1 insertions, 1 deletions
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<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();