]> git.lyx.org Git - features.git/commit
Do not remove character at start of paragraph when cutting
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 22 Jul 2018 20:18:50 +0000 (22:18 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 18 Sep 2018 20:57:41 +0000 (22:57 +0200)
commit741d81ecc6d029425b4fea6815cdbb49cc7dc857
treeb8204cb666d5288c0fc59cf59cc8f1c9dda4328d
parent5c4c8065aaa64244c15a931ce98ed23dfde783f2
Do not remove character at start of paragraph when cutting

The part of code that removed space at start of paragraph have been
there forever, but its intent is unclear. For example, cutting text at
the end of a paragraph will lead to remove space at the start of this
same paragraph.

The removal of this functionality is offset by a rewrite of DEPM that
makes it more thorough.

Fixes bug #10503.

(cherry picked from commit e4dba53232bc71d5a577466e7fb4a3251944d9d8)
src/CutAndPaste.cpp
src/CutAndPaste.h
src/Text.cpp
src/Text3.cpp
src/TextMetrics.cpp
src/lyxfind.cpp
src/mathed/InsetMathNest.cpp