1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Show print margin on ace editor

This commit is contained in:
Kazuhito Yokoi 2019-09-17 14:47:00 +09:00
parent 1b2e442513
commit 42c6487ff3
2 changed files with 0 additions and 2 deletions

View File

@ -2425,7 +2425,6 @@ RED.editor = (function() {
el = $("<div>").appendTo(el).addClass("red-ui-editor-text-container")[0]; el = $("<div>").appendTo(el).addClass("red-ui-editor-text-container")[0];
var editor = ace.edit(el); var editor = ace.edit(el);
editor.setTheme("ace/theme/tomorrow"); editor.setTheme("ace/theme/tomorrow");
editor.setShowPrintMargin(false);
var session = editor.getSession(); var session = editor.getSession();
session.on("changeAnnotation", function () { session.on("changeAnnotation", function () {
var annotations = session.getAnnotations() || []; var annotations = session.getAnnotations() || [];

View File

@ -243,7 +243,6 @@ RED.library = (function() {
useWorker: false useWorker: false
}); });
libraryEditor.setTheme("ace/theme/tomorrow"); libraryEditor.setTheme("ace/theme/tomorrow");
libraryEditor.setShowPrintMargin(false);
if (options.mode) { if (options.mode) {
libraryEditor.getSession().setMode(options.mode); libraryEditor.getSession().setMode(options.mode);
} }