mediawiki-extensions-CodeMi.../resources/modules/ve-cm
Thiemo Kreuz 094f20902c Lower maxHighlightLineLength limit to 5000
While working on T270317, I realized the performance of the
matchbrackets addon is not as good as described in
T270237#6739993. The issue with my original benchmark was that
I did it with a single pair of brackets with thousands of
characters between. A paragraph with thousands of brackets
behaves much worse. So bad that I feels painful when moving
the cursor.

Lowering the limit to something in the middle (between the
original 1000 and my 10000) makes it behave much, much better
on my machine.

Bug: T270237
Bug: T270317
Change-Id: I31f850f4c7778d6b5ff1d0eb17fdaf0edf7ae019
2021-01-19 15:04:14 +01:00
..
.eslintrc.json Remove obsolete aliases from closures 2018-11-12 13:19:41 +00:00
ve.ui.CodeMirror.init.js VE: Add explicit dependency on targetLoader 2020-06-30 22:47:41 +01:00
ve.ui.CodeMirror.init.less Merge "Integrated bracket matching for CodeMirror with VisualEditor" 2021-01-05 11:37:57 +00:00
ve.ui.CodeMirrorAction.js Lower maxHighlightLineLength limit to 5000 2021-01-19 15:04:14 +01:00
ve.ui.CodeMirrorTool.js Record usage statistics for syntax highlighting 2020-11-25 15:18:01 +01:00