Page 1 of 1

Colors for strings with no ending characters

Posted: Tue Jun 24, 2008 4:33 pm
by nkruis
All,

I'm working with a script language that uses an '@' symbol to indicate a variable (e.g. @X, @Variable, etc.). I would like to write a syntax definition file to recognize these as strings ending at the space so I can assign them a color in TextPad. Is this possible?

Thanks,

Neal

Posted: Tue Jun 24, 2008 5:09 pm
by Bob Hansen
Not possible unless you include every string with the @prefix, like @copy, @round, etc. TextPad only takes complete strings in its syntax definitions, no way to use wild cards or RegEx syntax.

Posted: Tue Jun 24, 2008 5:18 pm
by nkruis
Will the use of wild cards be available in future updates?

Posted: Tue Jun 24, 2008 10:52 pm
by Bob Hansen
I am just a user, like you, have no insight.

But there have been numerous requests for such a feature. You can hope.

Posted: Wed Jun 25, 2008 2:43 pm
by nkruis
Is it possible to define a space as the character ending the string (StringEnd = <space>)? or any hidden character for that matter?