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

Clarification about concurrent tokenization using multiple themes #218

Open
fabiospampinato opened this issue Nov 8, 2023 · 0 comments
Open

Comments

@fabiospampinato
Copy link

Registry.prototype.setTheme has this comment:

/**
 * Change the theme. Once called, no previous `ruleStack` should be used anymore.
 */

But, is that actually true if I always call setTheme with the same theme right before each tokenizeLine2 call? Or do I really need to basically create a dedicated registry for each theme that I've registered if I want to support tokenizing using different themes concurrently?

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

No branches or pull requests

1 participant