mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-20 06:51:57 +00: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) ->
|
gotoLine: (line, column) ->
|
||||||
@editor.gotoLine(line, column)
|
@editor.gotoLine(line, column)
|
||||||
|
@editor.scrollToLine(line,true,true)
|
||||||
@editor.focus()
|
@editor.focus()
|
||||||
|
|
Loading…
Reference in a new issue