mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-07 16:19:02 +02:00
Update font and line spacing in Ace to match OL v1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user