mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Update font and line spacing in Ace to match OL v1
This commit is contained in:
parent
40da785363
commit
7e250be66d
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ define [
|
|||
editor = ace.edit(element.find(".ace-editor-body")[0])
|
||||
editor.$blockScrolling = Infinity
|
||||
|
||||
editor.container.style.lineHeight = 1.6
|
||||
editor.setOption('fontFamily', '"Lucida Console", monospace')
|
||||
|
||||
# auto-insertion of braces, brackets, dollars
|
||||
editor.setOption('behavioursEnabled', scope.autoPairDelimiters || false)
|
||||
editor.setOption('wrapBehavioursEnabled', false)
|
||||
|
|
Loading…
Reference in a new issue