You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * 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?
The text was updated successfully, but these errors were encountered:
Registry.prototype.setTheme
has this comment:But, is that actually true if I always call
setTheme
with the same theme right before eachtokenizeLine2
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?The text was updated successfully, but these errors were encountered: