mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 18:37:58 +03:00
LibGUI: Improve a FIXME comment in TextDocument
This commit is contained in:
parent
a7fb50567b
commit
6536a979d8
Notes:
sideshowbarker
2024-07-18 18:48:31 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6536a979d83
@ -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…
Reference in New Issue
Block a user