diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2020-08-26 09:06:59 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-09-11 14:09:59 +0200 |
commit | dbca79d09acf5439e59c693db941b1d6e73c94c9 (patch) | |
tree | 8f3219f981d7dd0e8bba3d049d4af4717737b5ae /desktop | |
parent | Update git submodules (diff) | |
download | core-dbca79d09acf5439e59c693db941b1d6e73c94c9.tar.gz core-dbca79d09acf5439e59c693db941b1d6e73c94c9.zip |
Online: selection highlight in Calc should follow font size changes.
When user changes font size of selected text, markers and highlight rectangle should be updated.
impedit3.cxx: Line had no effect, removed.
Lokitsearchtest.cxx: Test had bug.
Other changes: LOKit code is separated. Now callback_text_selection is fired when font size is changed (Calc). On Writer it already behaves that way.
Change-Id: I9b7e3224ad162bfb7d8f0853b6cb17b4feafa0cf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101193
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102458
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index d0982e0bdcf1..c5f19c23eb93 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -1393,6 +1393,8 @@ void CallbackFlushHandler::queue(const int type, const char* data) type != LOK_CALLBACK_CURSOR_VISIBLE && type != LOK_CALLBACK_VIEW_CURSOR_VISIBLE && type != LOK_CALLBACK_TEXT_SELECTION && + type != LOK_CALLBACK_TEXT_SELECTION_START && + type != LOK_CALLBACK_TEXT_SELECTION_END && type != LOK_CALLBACK_REFERENCE_MARKS) { SAL_INFO("lok", "Skipping while painting [" << type << "]: [" << payload << "]."); |