Jump based on scroll position, not cursor position
This commit is contained in:
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();
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user