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
Notes: sideshowbarker 2024-07-18 18:48:31 +09:00

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();