diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee index 28530a660a..455bfae23a 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor.coffee @@ -163,12 +163,15 @@ define [ scope.$watch "readOnly", (value) -> editor.setReadOnly !!value + editor.setOption("scrollPastEnd", true) + resetSession = () -> session = editor.getSession() session.setUseWrapMode(true) session.setMode("ace/mode/latex") session.setAnnotations scope.annotations + updateCount = 0 onChange = () -> updateCount++