editor: more tweaks
This commit is contained in:
parent
99dc837cfd
commit
cd50f76cb4
2 changed files with 4 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ for (var name of ['script', 'draw', 'touch']) {
|
|||
editors[name] = ace.edit('editor-' + name)
|
||||
editors[name].getSession().setMode('ace/mode/javascript')
|
||||
editors[name].setOption('autoScrollEditorIntoView', true)
|
||||
editors[name].setOption('maxLines', 80)
|
||||
editors[name].setOption('maxLines', 40)
|
||||
editors[name].setOption('blockScrolling', Infinity)
|
||||
editors[name].commands.bindKeys({'ctrl-l':null, 'ctrl-f': null,'cmd-l':null, 'cmd-f': null})
|
||||
editors[name].renderer.setScrollMargin(4, 4, 0, 4)
|
||||
|
|
|
|||
|
|
@ -134,7 +134,9 @@ osc-inspector-field .ace_editor {
|
|||
background-color: rgba(76, 87, 103, .19)
|
||||
}
|
||||
.ace_marker-layer .ace_selected-word {
|
||||
border: 1rem solid #3d4350
|
||||
border: none;
|
||||
border-bottom: 1rem solid rgba(white, 0.2);//1rem solid #3d4350;
|
||||
background: none;
|
||||
}
|
||||
.ace_fold {
|
||||
background-color: #61afef;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue