scroll cursor into view on pageup/down
This commit is contained in:
parent
7bff33c986
commit
fae7a215e7
1 changed files with 2 additions and 0 deletions
|
|
@ -981,6 +981,8 @@ var Editor = function(renderer, session) {
|
|||
|
||||
this.renderer.animateScrolling(function() {
|
||||
renderer.scrollBy(0, rows * config.lineHeight);
|
||||
if (select != null)
|
||||
renderer.scrollCursorIntoView();
|
||||
}, this);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue