Posted 18 years ago
by John Youren
![Avatar](https://secure.gravatar.com/avatar/10d4220e300aca14f4132ca537ab35ec.jpg?s=64&d=identicon&r=g)
Hi, Say I have a syntax file full of entries like so
<RegexPatternGroup TokenKey="ReservedWordToken" PatternValue="MAKE\s+OBJECT\s+BOX" CaseSensitivity="Insensitive" Style="ReservedWordStyle"/>
is there a way of including a value which I can query at runtime as I go through the tokens. I am looking to set the status bar text of my app to the command arguments of a command which in this case would be
Make object box *object number*, *size*
I imagine the syntax file entry would change to
<RegexPatternGroup TokenKey="ReservedWordToken" PatternValue="MAKE\s+OBJECT\s+BOX" CaseSensitivity="Insensitive" Style="ReservedWordStyle" HelpText="Make object box *object number*, *size*"/>
Is this possible?
Thanks
<RegexPatternGroup TokenKey="ReservedWordToken" PatternValue="MAKE\s+OBJECT\s+BOX" CaseSensitivity="Insensitive" Style="ReservedWordStyle"/>
is there a way of including a value which I can query at runtime as I go through the tokens. I am looking to set the status bar text of my app to the command arguments of a command which in this case would be
Make object box *object number*, *size*
I imagine the syntax file entry would change to
<RegexPatternGroup TokenKey="ReservedWordToken" PatternValue="MAKE\s+OBJECT\s+BOX" CaseSensitivity="Insensitive" Style="ReservedWordStyle" HelpText="Make object box *object number*, *size*"/>
Is this possible?
Thanks