From f755a60008a738f4d97fa5d767dce445d58df2f5 Mon Sep 17 00:00:00 2001 From: prssanna Date: Tue, 12 Jan 2021 14:19:23 +0530 Subject: [PATCH] fix: disable print margin in ace editor --- frappe/public/js/frappe/form/controls/code.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/public/js/frappe/form/controls/code.js b/frappe/public/js/frappe/form/controls/code.js index f3c51e0232..5dee13c72b 100644 --- a/frappe/public/js/frappe/form/controls/code.js +++ b/frappe/public/js/frappe/form/controls/code.js @@ -23,6 +23,7 @@ frappe.ui.form.ControlCode = frappe.ui.form.ControlText.extend({ const ace = window.ace; this.editor = ace.edit(this.ace_editor_target.get(0)); this.editor.setTheme('ace/theme/tomorrow'); + this.editor.setOption("showPrintMargin", false) this.set_language(); // events