fix: clamp cursor on restore_session
This commit is contained in:
parent
fff1a39fe5
commit
28b256971a
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ pub const Editor = struct {
|
||||||
return error.RestoryFindHistory;
|
return error.RestoryFindHistory;
|
||||||
self.push_find_history(value);
|
self.push_find_history(value);
|
||||||
}
|
}
|
||||||
|
self.clamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn init(self: *Self, allocator: Allocator, n: Plane) void {
|
fn init(self: *Self, allocator: Allocator, n: Plane) void {
|
||||||
|
|
Loading…
Add table
Reference in a new issue