Selaa lähdekoodia

[core] Removed Ace gutter, set min and max lines, removed print margins

Enrico Berti 10 vuotta sitten
vanhempi
commit
f6624f4
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

+ 5 - 2
desktop/core/src/desktop/static/desktop/js/ko.hue-bindings.js

@@ -1505,8 +1505,11 @@ ko.bindingHandlers.aceEditor = {
       enableBasicAutocompletion: true,
       enableSnippets: true,
       enableLiveAutocompletion: true,
-      showGutter: true,
-      showLineNumbers: false
+      showGutter: false,
+      showLineNumbers: false,
+      showPrintMargin: false,
+      minLines: 6,
+      maxLines: 25
     }
 
     if (editor.getValue() == "" && options.placeholder) {