editor: raise highlight limit from 10k to 100k chars in one line

This commit is contained in:
tophf 2017-12-03 02:02:22 +03:00
parent a5c3c2e895
commit 43fc26619d

View File

@ -30,7 +30,8 @@
'Alt-Enter': 'toggleStyle', 'Alt-Enter': 'toggleStyle',
'Alt-PageDown': 'nextEditor', 'Alt-PageDown': 'nextEditor',
'Alt-PageUp': 'prevEditor' 'Alt-PageUp': 'prevEditor'
} },
maxHighlightLength: 100e3,
}; };
Object.assign(CodeMirror.defaults, defaults, prefs.get('editor.options')); Object.assign(CodeMirror.defaults, defaults, prefs.get('editor.options'));