소스 검색

allow ace to scoll off screen

Henry Oswald 12 년 전
부모
커밋
14d32af6bf
1개의 변경된 파일과 3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      services/web/public/coffee/ide/editor/directives/aceEditor.coffee

+ 3 - 0
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++