Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Syntax highlighting' topicStudent Support Forum > General > "Syntax highlighting"

Help | Reply To Topic
Author Comment/Response
pajenn
10/06/09 1:14pm

Does Mathematica 7 support syntax highlighting, or auto-indent, auto-complete, etc. typical to many programing language editors? Or is there an add-on package I could use?

In particular, I'd like Mathematica to highlight (change color) matching brackets when the caret is next to one of bracket. I attached a pic of some AutoHotkey code I wrote with SciTE to showcase the type of highlighting features I'm hoping to enable. Auto indents for Do,While,For,... loops and for various If-statements would be a plus.

I'm using Mathematica to simulate some Prisoner's dilemma type games (game theory), and keeping track of the various loops and ifs is tricky.

Thanks in advance.

Attachment: syntax1.png, URL: ,
Help | Reply To Topic