]> 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>
Sun, 22 Jul 2018 21:20:21 +0000 (23:20 +0200)
commite4dba53232bc71d5a577466e7fb4a3251944d9d8
tree69030c445f01d5f1394c06d257b2a19438262a84
parent20976e81fb25899ee8d3ec5ed941fda6b453f59f
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.
src/CutAndPaste.cpp
src/CutAndPaste.h
src/Text.cpp
src/Text3.cpp
src/TextMetrics.cpp
src/lyxfind.cpp
src/mathed/InsetMathNest.cpp