Эх сурвалжийг харах

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

Enrico Berti 10 жил өмнө
parent
commit
f6624f4

+ 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) {