mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
when calling gotoLine also scrollToLine to put line in view
This commit is contained in:
parent
daa1d80865
commit
7863b7cab6
1 changed files with 1 additions and 0 deletions
|
@ -55,4 +55,5 @@ define [], () ->
|
|||
|
||||
gotoLine: (line, column) ->
|
||||
@editor.gotoLine(line, column)
|
||||
@editor.scrollToLine(line,true,true)
|
||||
@editor.focus()
|
||||
|
|
Loading…
Reference in a new issue