Determine new cursor screen row when jumping to line by number
This commit is contained in:
1 parent
62868e596d
commit
909e56d5af
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user