Posted 20 years ago
by painetraine
I am trying to define an empty patter group in the DefaultState, ie.
<ExplicitPatternGroup Token="UserCustomToken" Style="UserCustomStyle" LookAhead="{NonWordMacro}"/>
I basically want to leave the pattern empty and have it as a placeholder that I can load in patterns at runtime based off of user supplied information, in this case a database query to retrieve pattern items.
However, when I load the language it complains about not having any patterns. Is there a way to create a "placeholder" pattern group?
Thanks
<ExplicitPatternGroup Token="UserCustomToken" Style="UserCustomStyle" LookAhead="{NonWordMacro}"/>
I basically want to leave the pattern empty and have it as a placeholder that I can load in patterns at runtime based off of user supplied information, in this case a database query to retrieve pattern items.
However, when I load the language it complains about not having any patterns. Is there a way to create a "placeholder" pattern group?
Thanks