Merge "Lower maxHighlightLineLength limit to 5000"

This commit is contained in:
jenkins-bot 2021-01-20 10:03:06 +00:00 committed by Gerrit Code Review
commit 9ab93e1c54
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@
if ( mw.config.get( 'wgCodeMirrorEnableBracketMatching' ) ) {
cmOptions.matchBrackets = {
highlightNonMatching: false,
maxHighlightLineLength: 10000
maxHighlightLineLength: 5000
};
}

View file

@ -85,7 +85,7 @@ ve.ui.CodeMirrorAction.prototype.toggle = function ( enable ) {
if ( mw.config.get( 'wgCodeMirrorEnableBracketMatching' ) ) {
cmOptions.matchBrackets = {
highlightNonMatching: false,
maxHighlightLineLength: 10000
maxHighlightLineLength: 5000
};
}