when calling gotoLine also scrollToLine to put line in view

This commit is contained in:
Brian Gough 2016-08-11 16:46:30 +01:00
parent daa1d80865
commit 7863b7cab6

View file

@ -55,4 +55,5 @@ define [], () ->
gotoLine: (line, column) ->
@editor.gotoLine(line, column)
@editor.scrollToLine(line,true,true)
@editor.focus()