Alexander Hedges
Alexander Hedges
I'm quite confused about the different variations of the theme: duotone (custom and fixed hues), tone and chameleon. Are any of those being deprecated? Is it technically possible to have...
@simurai Thanks! I'll check them out. It would be nice to have presets available some day for those themes (I really like some of your color combinations), but for now...
SyntaxKit is quite slow due to the way textmate grammars are specified (regexes, nondeterministic, infinite lookahead etc.). Personally I would only use asynchronous incremental parsing for interactive highlighting (see AttributedParsingOperation)....
You can, but I doubt that the implementation will become a lot faster. There is a little code snippet without synchroniztion in https://github.com/soffes/SyntaxKit/pull/18.
SyntaxKit does not cache regular expression matches if that is what you mean. It is specifically designed to be placed in a textDidChange notification or in the delegate. ChangeIsInsertion is...
You are free to do that. Just add a performance test case to see if it is really faster.
I'll add the file as a performance test case. I tried some caching but the current performance test cases only run ~ 10% faster.
I added it as a test and on my machine it takes about 1.12 seconds on master and 1.27 seconds on the caching branch (no big optimizations yet) to parse...
Sure, if you are familiar with NSOperation and NSOperationQueue it should be pretty straight forward. Just use the first constructor for the first operation on a file and for subsequent...
Did you do the updates on the main thread?