summaryrefslogtreecommitdiffhomepage
path: root/configs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-03-25 14:20:56 +0000
committerDenys Vlasenko <vda.linux@googlemail.com>2021-03-29 12:05:53 +0200
commit7b4c2276a89fca0dfedf73db07fbe20fff17a0de (patch)
tree4dcfd339390b32341bcb2dd5b6ee8db9204d47c4 /configs
parent1195782d79d282639f54ef9620a9211c96c572f1 (diff)
vi: fix word operations across line boundaries
Commit 4b49422a0 (vi: fix changes to word at end of line. Closes 11796) fixed a problem where an operation on a word at the end of a line followed by a line starting with whitespace incorrectly joined the lines. However it also broke the case where operating on multiple words across a line boundary *should* join the lines. Fix this by detecting when trailing whitepace in a word operation includes a newline. Whitespace beyond the newline is excluded from consideration. function old new delta do_cmd 5083 5088 +5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/0 up/down: 5/0) Total: 5 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions