summaryrefslogtreecommitdiff
path: root/mailutils
diff options
context:
space:
mode:
authorRon Yorston2021-03-28 13:23:12 +0100
committerDenys Vlasenko2021-03-29 12:16:21 +0200
commitd56da680577ae5ad43833040a310706e8331c684 (patch)
treef49cd7e3e3361fc98e488a30c7839db76101d9c4 /mailutils
parent8b571bd7b507c5dbdf8bb2bd804047ed66ea9809 (diff)
downloadbusybox-d56da680577ae5ad43833040a310706e8331c684.zip
busybox-d56da680577ae5ad43833040a310706e8331c684.tar.gz
vi: improve operations involving paragraph movement
Movement by paragraph doesn't always involve whole lines. If the cursor is positioned in the middle of a line deleting to either end of the paragraph will result in one partial line and zero or more full lines. Adjust the end of ranges delimited by paragraph movement to more closely match what vi does. function old new delta find_range 467 518 +51 at_eof - 49 +49 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/0 up/down: 100/0) Total: 100 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils')
0 files changed, 0 insertions, 0 deletions