code_field icon indicating copy to clipboard operation
code_field copied to clipboard

CodeController.styleList is growing on each rebuild

Open alexeyinkin opened this issue 1 year ago • 0 comments

styleList is never emptied but can grow on each rebuild depending of webSpaceFix, stringMap, and patternMap.

To fix this, styleRegExp and styleList should be computed once at initialization.

alexeyinkin avatar Jul 07 '22 15:07 alexeyinkin