Leading the way to the Future
Welcome Guest, Login!
28 May 2012 01:14:28 pm by merthsoft Quote
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
28 May 2012 01:16:12 pm by KermMartian Quote
I absolutely love the underlining thing that shows you token delineation. That would be ridiculously helpful with people who have issues between, for instance, "Pause" and "Pause ".
28 May 2012 09:23:16 pm by tifreak8x Quote
Been playing around with the newest version, enjoying it Smile

As was said in IRC, I'd like to be able to adjust my text size in program without having to edit things in the xmls.

What is your next upgrade to this project?
28 May 2012 09:25:30 pm by merthsoft Quote
Controlling font-size in program is on the list. End token counting/matching/code folding will likely be next (indentation of the code, too). Then finishing up the project infrastructure.
28 May 2012 10:03:49 pm by Weregoose Quote
Ctrl+<arrow> jumping between tokens would be nifty.

Love the token underlining. It feels a lot more like there are actual tokens sitting in the text area, which is unique.
28 May 2012 10:05:03 pm by merthsoft Quote
Thanks! I think since everyone seems to like that, I'm going to remove the tokens pane--it only causes me trouble anyway.

Also, as a note, this text editor adds a few other things, too, that may be handy. Namely Ctrl+F for find, and Ctrl+G for goto line.
29 May 2012 10:40:11 pm by merthsoft Quote
Alright, there were some bugs in how it was handling alt tokens and preprocessor directives. These have mostly been addressed:

And just because I've been more rigorous about Mono support, here's it in Mono on Windows:


I've also improved performance a bit as well as made it a bit smaller.

Download in the normal place:
http://merthsoft.com/Tokens.zip
29 May 2012 10:47:18 pm by TheStorm Quote
Looking hawt Merth. I'll have to try it on mono for mac later so I can get screenshots for ya.
30 May 2012 04:32:05 pm by tifreak8x Quote
Looks awesome Very Happy

The tabs on the second screenshot is a bit muddled though. 'Projec' not sure if that's a typo or a goof in the programming. Something to look in to Smile
30 May 2012 04:34:49 pm by merthsoft Quote
That's because Mono on Windows is pretty crappy. It's not likely something I will be trying too hard to fix, since it works right in Microsoft .NET and Mono on Fedora.
01 Jun 2012 09:23:21 pm by merthsoft Quote
Because Tifreak was complaining, I started working on a list/matrix editor:


Part of doing all this was also unifying the way the edit tabs are handled. Before it could only be a text editor in there, now (as you can see) you can do other stuff. This is a good step toward making image editing done in a tab.
01 Jun 2012 09:35:40 pm by KermMartian Quote
That looks great! Keep up the impressive (and very helpful to programmers) work, Merth. I'm sure that tifreak8x will be thrilled as well.
02 Jun 2012 12:51:22 pm by tifreak8x Quote
Woo!

Hooray for constant nagging ^_^
06 Jun 2012 07:57:09 pm by KermMartian Quote
Here, have some more icons! These were the result of Shaun reminding me during Have Calc, Will Program that these were sorely overdue to him (not to mention, I see, two pages back in this topic).

06 Jun 2012 08:00:09 pm by merthsoft Quote
Oooh, those are nice, thanks! I'll make sure to get those in there.
06 Jun 2012 08:01:05 pm by KermMartian Quote
merthsoft wrote:
Oooh, those are nice, thanks! I'll make sure to get those in there.
Neat-o. As always, be sure to let me know if you need any more from me.
06 Jun 2012 08:58:33 pm by tifreak8x Quote
Those are some gorgeous icons. Can't wait to see them in action! Very Happy
06 Jun 2012 09:24:06 pm by merthsoft Quote
OK, I've made an update. Three changes, really:
1) File handling code now simpler, which makes my life easier.
2) Fixed bug where backslash wasn't working correctly.
3) Added Kerm's Icons. Here's some of them:
06 Jun 2012 09:34:33 pm by KermMartian Quote
Great update! And I'm always happy and slightly jealous to hear about some code re-factoring, considering how messy my ten years of combined SourceCoder code is.
07 Jun 2012 10:44:51 pm by merthsoft Quote
I've updated it some more to add squiggly lines for untokenizable characters, as well as grouping of the backslashes so you can better tell what's a token:

http://merthsoft.com/Tokens.zip