summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-06-08 19:43:03 +1000
committerMaxime Coste <mawww@kakoune.org>2022-07-05 08:43:40 +1000
commitdf79d0c2453991c4762c6c6ffbccd714312c87f9 (patch)
tree6b92b4789d05cd5a78d2b7d22adb72f3c4d26402 /src/normal.cc
parentb5e565bd6a957373096ad7fd636d4e931940cf9b (diff)
Distinguish between non-eol max column target and plain max column
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 17fd4833..7694f513 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -2076,7 +2076,7 @@ void move_cursor(Context& context, NormalParams params)
auto& selections = context.selections();
for (auto& sel : selections)
{
- auto cursor = context.buffer().offset_coord(sel.cursor(), offset, tabstop, true);
+ auto cursor = context.buffer().offset_coord(sel.cursor(), offset, tabstop);
sel.anchor() = mode == SelectMode::Extend ? sel.anchor() : cursor;
sel.cursor() = cursor;
}