fix: move_cursor_next_match should mark match as selected
This commit is contained in:
parent
491f40ed96
commit
185e081c7c
1 changed files with 1 additions and 0 deletions
|
|
@ -5405,6 +5405,7 @@ pub const Editor = struct {
|
|||
match_.has_selection = false;
|
||||
};
|
||||
primary.selection = match.to_selection();
|
||||
match.has_selection = true;
|
||||
primary.cursor.move_to(root, match.end.row, match.end.col, self.metrics) catch return;
|
||||
self.clamp();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue