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:
parent
a7fb50567b
commit
6536a979d8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue