- if (strlen(_text) > SKIP_PARSE_THRESHOLD) {
- return textstyle_buffer;
- }
+ // if (strlen(_text) > SKIP_PARSE_THRESHOLD) {
+ // return textstyle_buffer;
+ // }
Before comment libs/tm-parser/textmate/textmate.cpp, It cannot work for too long text.
After comment, it will not highlight when text characters > ~4099.