Преглед изворни кода

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

Enrico Berti пре 10 година
родитељ
комит
f6624f4
1 измењених фајлова са 5 додато и 2 уклоњено
  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) {