]> git.lyx.org Git - features.git/commit
Improve DEPM
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 22 Jul 2018 20:13:44 +0000 (22:13 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 22 Jul 2018 21:20:21 +0000 (23:20 +0200)
commit20976e81fb25899ee8d3ec5ed941fda6b453f59f
treea63e0b1fbe9c8e7723ce9b4fc057da613226be66
parent16ca5290c0d619df23406275e6698594b90ce7ab
Improve DEPM

Now any sequence of spaces around old cursor will be removed, even at
start or end of paragraph. Sequences of more than 2 characters are
also taken into account.

The version of DEPM which acts on a sequence of paragraphs is also
rewritten to match the local one.
src/Text.h
src/Text2.cpp