From 194a90884cf54fd17a9de8b42faef62bd6b9d567 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 8 May 2021 22:05:37 +0200 Subject: LibGUI: Remove now-unused undo coalescing timer from GUI::TextEditor This is no longer used since commands handle merging themselves. --- Userland/Libraries/LibGUI/TextDocument.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Userland/Libraries/LibGUI/TextDocument.h') diff --git a/Userland/Libraries/LibGUI/TextDocument.h b/Userland/Libraries/LibGUI/TextDocument.h index 8f97466d66..503e80580e 100644 --- a/Userland/Libraries/LibGUI/TextDocument.h +++ b/Userland/Libraries/LibGUI/TextDocument.h @@ -132,8 +132,6 @@ protected: explicit TextDocument(Client* client); private: - void update_undo(); - NonnullOwnPtrVector m_lines; Vector m_spans; @@ -141,7 +139,6 @@ private: bool m_client_notifications_enabled { true }; UndoStack m_undo_stack; - RefPtr m_undo_timer; RegexResult m_regex_result; size_t m_regex_result_match_index { 0 }; -- cgit v1.2.3