]> 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>
Tue, 18 Sep 2018 21:00:46 +0000 (23:00 +0200)
commit286be197e0c8cbbc1ca0aa8dda33d42cb9c7985b
tree2b1e0b6f18929169cefa71abb23cb2ff0c95723a
parent741d81ecc6d029425b4fea6815cdbb49cc7dc857
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.

(cherry picked from commit 20976e81fb25899ee8d3ec5ed941fda6b453f59f)
(cherry picked from commit c54fe6c5840afdbbac5e242db724fb0bf6bc084f)
src/Text.h
src/Text2.cpp