- 28 May 2012 01:14:28 pm
- Last edited by merthsoft on 28 May 2012 02:44:04 pm; edited 2 times in total
Ok, I'm going to go ahead and upload a test program, here's what we're looking at right now:
Right now the only color changing that's going on is strings and comments (and preprocessor directives), but you can add it through the XML file. You can control foreground color, background color, text style, how many characters long a token has to be to underline it (-1 for no underlining), and what color the underline is. Check out the xml file if you want to see how it's laid out. The readme will be updated, um, eventually.
Keep in mind that the tokens files changed (including the schema), so this is a breaking changed with your old tokens files. Just put the "Group" tags inside a <Groups></Groups> section, and add a default style and it should work. There were also some ambiguous tokens in the Tokens.XML file and the AxeTokens.xml file, and it now crashes on ambiguous tokens (sorry!). Project stuff is disabled for now.
This does work under Mono, btw:
Download at the normal place:
http://merthsoft.com/Tokens.zip

Right now the only color changing that's going on is strings and comments (and preprocessor directives), but you can add it through the XML file. You can control foreground color, background color, text style, how many characters long a token has to be to underline it (-1 for no underlining), and what color the underline is. Check out the xml file if you want to see how it's laid out. The readme will be updated, um, eventually.
Keep in mind that the tokens files changed (including the schema), so this is a breaking changed with your old tokens files. Just put the "Group" tags inside a <Groups></Groups> section, and add a default style and it should work. There were also some ambiguous tokens in the Tokens.XML file and the AxeTokens.xml file, and it now crashes on ambiguous tokens (sorry!). Project stuff is disabled for now.
This does work under Mono, btw:

Download at the normal place:
http://merthsoft.com/Tokens.zip