fix: incorrect line offset in goto_line_and_column
This commit is contained in:
parent
74e7406034
commit
50a4336b8c
1 changed files with 1 additions and 0 deletions
|
|
@ -5692,6 +5692,7 @@ pub const Editor = struct {
|
|||
dest.row -|= 1;
|
||||
dest.col -|= 1;
|
||||
dest = dest.from_pos(root, self.metrics);
|
||||
dest.row += 1;
|
||||
dest.col += 1;
|
||||
if (have_sel)
|
||||
sel = sel.from_pos(root, self.metrics);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue