summaryrefslogtreecommitdiff
path: root/test/normal
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-11-07 23:56:24 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-07 23:56:24 +0800
commitd45f16b6c813842690e06ca70102be345ce80596 (patch)
treedf825e39074d9777e19de309bec229012c7c17ff /test/normal
parent80ce768994c75952b75cf31bef3c67871e5e5723 (diff)
Buffer: change clamp logic to preserve ordering
clamp could change ordering between a coordinate past the end. Say in a buffer with 1 line of 2 char: {0, 1} was clamped to {0, 1} {1, 0} was clamped to {0, 0} That was reversing their ordering, and might be the root cause of the bug lurking in undo range computation.
Diffstat (limited to 'test/normal')
0 files changed, 0 insertions, 0 deletions