summaryrefslogtreecommitdiff
path: root/src/input_handler.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/input_handler.cc
parentb5e565bd6a957373096ad7fd636d4e931940cf9b (diff)
Distinguish between non-eol max column target and plain max column
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index 6cf175c2..9a622559 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1445,7 +1445,7 @@ private:
const ColumnCount tabstop = context().options()["tabstop"].get<int>();
for (auto& sel : selections)
{
- auto cursor = context().buffer().offset_coord(sel.cursor(), offset, tabstop, false);
+ auto cursor = context().buffer().offset_coord(sel.cursor(), offset, tabstop);
sel.anchor() = sel.cursor() = cursor;
}
selections.sort_and_merge_overlapping();