Determine new cursor screen row when jumping to line by number
This commit is contained in:
parent
62868e596d
commit
909e56d5af
@ -260,6 +260,7 @@ bool BufferView::cursor_move_to_line(size_t target_line)
|
||||
if (current_line != it->line())
|
||||
{
|
||||
*m_iterator = *it;
|
||||
determine_new_cursor_screen_row();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user