mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 22:32:45 +00:00
Jump based on scroll position, not cursor position
This commit is contained in:
@@ -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