summaryrefslogtreecommitdiff
path: root/test/hxdiff.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/hxdiff.zig')
-rw-r--r--test/hxdiff.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/hxdiff.zig b/test/hxdiff.zig
index b12bcd8e..257cce42 100644
--- a/test/hxdiff.zig
+++ b/test/hxdiff.zig
@@ -521,9 +521,6 @@ fn runCase(arena: std.mem.Allocator, case: Case, pane_kind: []const u8) !Result
var anchor: Pos = .{ .row = pane.body.cur_row, .col = pane.body.cur_col };
if (pane.body.vsel.active) {
anchor = .{ .row = pane.body.vsel.row, .col = pane.body.vsel.col };
- } else if (pane.body.msel.active) {
- // line selection: the far end (the r0/r1 not holding the cursor), col 0
- anchor = .{ .row = if (pane.body.cur_row == pane.body.msel.r1) pane.body.msel.r0 else pane.body.msel.r1, .col = 0 };
}
// mode "select" ONLY while v-extend is on (helix keeps x/%/mi selections
// in normal mode); pane.body.mode itself never holds a select state