]> git.lyx.org Git - features.git/commit
Revert "Always remove selection after cursor up/down"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Oct 2022 16:18:49 +0000 (18:18 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 27 Oct 2022 13:07:57 +0000 (15:07 +0200)
commita559616cbd4ac10d7956d2f8438300cb1830181d
treefcaa8056d92a5800f8eebcb3ba6c2ab831fe4763
parent0008604b2086b35157ea5d396acd9cc29865b7ab
Revert "Always remove selection after cursor up/down"

This reverts commit 008a0825e8d67b9c0a3d31b906f04cd7b8fd18a8.

This commit was part of bug #12310. The goal was to remove the
selection when using "up" at the start of selection (so that the
cursor cannot move). Unfortunately, it creates navigation issues for
insets inside tabulars.

Since the fix was minor, the safest decision is to revert.

The part of ticket #12310 that resets selection with
char-forwars/backward when moving is not possible still works.

Fixes bug #12593.
src/Cursor.cpp
src/Cursor.h
src/FuncCode.h
src/LyXAction.cpp
src/Text3.cpp