adjust cursor screen row when moving cursor up/down by screen rows
This commit is contained in:
parent
314c840105
commit
7199bb56e3
@ -170,6 +170,8 @@ bool BufferView::cursor_move(CursorMovement which, bool allow_eol)
|
||||
{
|
||||
case CursorMovement::LEFT:
|
||||
case CursorMovement::RIGHT:
|
||||
case CursorMovement::SCREEN_ROW_UP:
|
||||
case CursorMovement::SCREEN_ROW_DOWN:
|
||||
determine_new_cursor_screen_row();
|
||||
break;
|
||||
case CursorMovement::UP:
|
||||
|
Loading…
x
Reference in New Issue
Block a user