feat: add expand/shrink_selection and select_next/prev_sibling commands
This commit is contained in:
parent
6735d52090
commit
b0a1b80acb
4 changed files with 176 additions and 1 deletions
|
@ -759,7 +759,7 @@ const Node = union(enum) {
|
|||
return if (found) ctx.result else error.NotFound;
|
||||
}
|
||||
|
||||
pub fn pos_to_width(self: *const Node, line: usize, pos: usize, metrics_: Metrics) !usize {
|
||||
pub fn pos_to_width(self: *const Node, line: usize, pos: usize, metrics_: Metrics) error{NotFound}!usize {
|
||||
const do = struct {
|
||||
result: usize = 0,
|
||||
pos: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue