desktop/source/lib/init.cxx | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 1b826cf5cdc6aa145d62a1b0e6567a91b4b1acb9 Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Fri Jan 14 21:17:14 2022 +0000 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Wed Jan 19 15:22:40 2022 +0100
lok: avoid duplicate notification of tab-stop and ruler changes. We get far too many of these, one per key-stroke sometimes. Change-Id: Ifecffe0a82c6eef6809e3a49883bb3f17cb4d170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128571 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Jan Holesovsky <ke...@collabora.com> diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index dc3ff66ebd5c..ea15a2702649 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1494,6 +1494,8 @@ CallbackFlushHandler::CallbackFlushHandler(LibreOfficeKitDocument* pDocument, Li m_states.emplace(LOK_CALLBACK_CURSOR_VISIBLE, "NIL"); m_states.emplace(LOK_CALLBACK_SET_PART, "NIL"); m_states.emplace(LOK_CALLBACK_TABLE_SELECTED, "NIL"); + m_states.emplace(LOK_CALLBACK_TAB_STOP_LIST, "NIL"); + m_states.emplace(LOK_CALLBACK_RULER_UPDATE, "NIL"); } CallbackFlushHandler::~CallbackFlushHandler()