From df79d0c2453991c4762c6c6ffbccd714312c87f9 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 8 Jun 2022 19:43:03 +1000 Subject: Distinguish between non-eol max column target and plain max column --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input_handler.cc') 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(); 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(); -- cgit v1.2.3