@@ -47,6 +47,8 @@ define [
done = () =>
if options.gotoLine?
# allow Ace to display document before moving, delay until next tick
+ # added delay to make this happen later that gotoStoredPosition in
+ # CursorPositionManager
setTimeout () =>
@$scope.$broadcast "editor:gotoLine", options.gotoLine, options.gotoColumn
,0
@@ -55,5 +55,5 @@ define [], () ->
gotoLine: (line, column) ->
@editor.gotoLine(line, column)
- @editor.scrollToLine(line,true,true)
+ @editor.scrollToLine(line,true,true) # centre and animate
@editor.focus()