Clark, how does the language color coding work?
I can define a custom language and add tons of keywords and slick is able to color those very fast (for arm64, I've got about 1300 keywords).
Does it build a giant regex, or something more efficient?
Certainly, for things like arm assembly, being able to define the keywords with regex could make creating/editing the language easier, but I'd wonder how fast that is for coloring large files.
I use "QuickHighlight.e" to let me highlight words on the fly, but it gets pretty slow with large files. (It does a search and _SetTextColor)
I've thought about rewriting this to define a custom language - adding and removing keywords on the fly - seems like the performance would be a lot better.
It wouldn't let me define a different color for each "word" though. Also, changing the defined keywords in a language appears to be slow though.
The language coloring seems smart enough to only color what is on screen - while quickHighlight scans the entire file.
In any case, having built in QuickHighlight like functionality would be great - presumably it would be optimized to handle *huge* log files, regex patterns, etc.
TKasparek: Quickhighlight.e (available in the macros forum) just does a search for the words it highlights, so it could be extended to search for regex's as well.