Determine new cursor screen row when jumping to line by number

This commit is contained in:
Josh Holtrop 2018-03-20 20:46:24 -04:00
parent 62868e596d
commit 909e56d5af

View File

@ -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;