Jump based on scroll position, not cursor position

This commit is contained in:
Trevor Buckner committed 2024-09-10 01:11:28 -04:00
1 parent ec74b994d7
commit 45a9501459
2 files changed
+12 -4

No files matched your search

@@ -399,6 +399,9 @@ const CodeEditor = createClass({
getCursorPosition : function(){
return this.codeMirror.getCursor();
},
getViewport : function(){
return this.codeMirror.getViewport();
},
updateSize : function(){
this.codeMirror.refresh();
},