Skip to content

Commit

Permalink
pos scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Basarat Ali Syed committed Jul 24, 2017
1 parent f9e6492 commit c1e4d89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/monaco/addons/writeCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ class WriteCode extends EditorAction {
* Advance pos
*/
currentPos = model.modifyPosition(currentPos, 1);
/**
* Ensure position is well scrolled into
*/
editor.revealPosition(currentPos);
}
})();
}
Expand Down

0 comments on commit c1e4d89

Please sign in to comment.