Assigning 'values' to tokens

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by John Youren
Avatar
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

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We don't have anything exactly like that yet however we do have string properties. You could probably make a string property named "ReservedWordToken_HelpText" and then query that at run-time. It achieves the same effect.


Actipro Software Support

The latest build of this product (v25.1.0) was released 20 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.