From 42c6487ff3e8f88837323be396317a8fca9bba86 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Tue, 17 Sep 2019 14:47:00 +0900 Subject: [PATCH] Show print margin on ace editor --- .../node_modules/@node-red/editor-client/src/js/ui/editor.js | 1 - .../node_modules/@node-red/editor-client/src/js/ui/library.js | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js index 69b743011..2fcbacf0e 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/editor.js @@ -2425,7 +2425,6 @@ RED.editor = (function() { el = $("
").appendTo(el).addClass("red-ui-editor-text-container")[0]; var editor = ace.edit(el); editor.setTheme("ace/theme/tomorrow"); - editor.setShowPrintMargin(false); var session = editor.getSession(); session.on("changeAnnotation", function () { var annotations = session.getAnnotations() || []; diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/library.js b/packages/node_modules/@node-red/editor-client/src/js/ui/library.js index 552fc8ff9..e25223f94 100755 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/library.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/library.js @@ -243,7 +243,6 @@ RED.library = (function() { useWorker: false }); libraryEditor.setTheme("ace/theme/tomorrow"); - libraryEditor.setShowPrintMargin(false); if (options.mode) { libraryEditor.getSession().setMode(options.mode); }