sc/source/ui/app/inputhdl.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit 671886c569a35e691ff3a1b2e60816f75ec223ce Author: Andreas Heinisch <andreas.heini...@yahoo.de> AuthorDate: Sun Nov 17 10:35:42 2024 +0100 Commit: Andreas Heinisch <andreas.heini...@yahoo.de> CommitDate: Mon Nov 18 08:43:33 2024 +0100
tdf#81913 - Keep cell highlighting active during arrow key navigation Don't delete range finder during arrow key navigation since cursor keys don't count as modifications. Change-Id: I53566a4a84ff4dc81fdf0d8b8f6468f956958925 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176689 Reviewed-by: Andreas Heinisch <andreas.heini...@yahoo.de> Tested-by: Jenkins diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 10a60ac067aa..560567fc82c4 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -4062,7 +4062,10 @@ bool ScInputHandler::KeyInput( const KeyEvent& rKEvt, bool bStartEdit /* = false // #i114511# don't count cursor keys as modification bool bSetModified = !bCursorKey; + // tdf#81913 - don't delete range finder since cursor keys don't count as modifications + bInRangeUpdate = bCursorKey; DataChanged(false, bSetModified); // also calls UpdateParenthesis() + bInRangeUpdate = false; // In the LOK case, we want to set the document modified state // right away at the start of the edit, so that the content is