Determine new cursor screen row when jumping to line by number

This commit is contained in:
josh committed 2018-03-20 20:46:24 -04:00
1 parent 62868e596d
commit 909e56d5af
1 file changed
+1
+1
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;