fix: don't remove secondary cursors when cancelling dropdown completion
This commit is contained in:
parent
079e9bee22
commit
3402a54a2e
1 changed files with 0 additions and 1 deletions
|
|
@ -337,7 +337,6 @@ pub fn updated(self: *Type, button_: ?*Type.ButtonType) !void {
|
||||||
pub fn cancel(_: *Type) !void {
|
pub fn cancel(_: *Type) !void {
|
||||||
const editor = tui.get_active_editor() orelse return;
|
const editor = tui.get_active_editor() orelse return;
|
||||||
editor.cancel_all_matches();
|
editor.cancel_all_matches();
|
||||||
editor.cancel_all_selections();
|
|
||||||
const mv = tui.mainview() orelse return;
|
const mv = tui.mainview() orelse return;
|
||||||
mv.cancel_info_content() catch {};
|
mv.cancel_info_content() catch {};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue