From 43fc26619db4429ba2b0a7b75bb363aff9876e92 Mon Sep 17 00:00:00 2001 From: tophf Date: Sun, 3 Dec 2017 02:02:22 +0300 Subject: [PATCH] editor: raise highlight limit from 10k to 100k chars in one line --- edit/codemirror-default.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edit/codemirror-default.js b/edit/codemirror-default.js index ea92e6bb..f2c2c452 100644 --- a/edit/codemirror-default.js +++ b/edit/codemirror-default.js @@ -30,7 +30,8 @@ 'Alt-Enter': 'toggleStyle', 'Alt-PageDown': 'nextEditor', 'Alt-PageUp': 'prevEditor' - } + }, + maxHighlightLength: 100e3, }; Object.assign(CodeMirror.defaults, defaults, prefs.get('editor.options'));