summaryrefslogtreecommitdiff
path: root/src/File.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/File.zig')
-rw-r--r--src/File.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/File.zig b/src/File.zig
index 962c17e7..d1636852 100644
--- a/src/File.zig
+++ b/src/File.zig
@@ -926,7 +926,6 @@ pub fn setContentSpan(p: *Pardes, f: *State, new: []u8, span_in: ?Span) void {
t.sel[button].state = .none;
}
t.body.vsel.active = false;
- t.body.msel.active = false;
t.body.nsel = 0;
const cursor = positionIn(p.gpa, tf, moved[i].cursor);
t.body.cur_row = @intCast(cursor.row);
@@ -972,7 +971,6 @@ const ParkedPlaces = struct {
v.body.cur_row = @intCast(cursor.row);
v.body.cur_col = @intCast(cursor.col);
v.body.vsel.active = false;
- v.body.msel.active = false;
v.body.nsel = 0;
v.scroll = positionIn(p.gpa, tf, @min(a.scroll, tf.content.len)).row;
}
@@ -1221,7 +1219,6 @@ pub fn restoreSnap(pane: *Pane, f: *State, snap: Snapshot) void {
pane.body.cur_row = @intCast(row);
pane.body.cur_col = @intCast(@min(@as(usize, @intCast(@max(0, snap.cur_col))), llen));
pane.body.vsel = snap.vsel;
- pane.body.msel.active = false;
pane.body.cur_pinned = true;
pane.body.sticky_col = -1;
pane.ensureCursorVisible();