소스 검색

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