Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified Synchronous Tokenization #20

Open
Anviking opened this issue May 28, 2014 · 0 comments
Open

Simplified Synchronous Tokenization #20

Anviking opened this issue May 28, 2014 · 0 comments

Comments

@Anviking
Copy link
Owner

The syntax highlighting is performed as operations in a NSOperationQueue. JLTokenPattern does dispatch_async to the main queue before adding the attribute to the textStorage, so calling -waitUntilFinished on the operationQueue is not helpful.

Could probably be solved in a hacky way, but thinking about reimplementing the JLScopeDelegate, moving add-attribute-to-textStorage-logic to the tokenizer, and adding some queue-logic-things there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant