GeSHi Maxscript Syntax Highlighting
I have written a GeSHi syntax file for maxscript. This allows anything that uses GeSHi, like WP-Syntax, to properly highlight maxscript syntax. As an example, this below is the maxscript version of the MBuilder code to print out a position every frame.
fn timeSink obj = ( for i = animationrange.start to animationrange.end do ( at time i (print obj.position) ) ) start = timeStamp() timeSink (selection as array)[1] end = timeStamp() format "Processing took % seconds\n" ((end - start) / 1000.0) |
You can grab my syntax file [here]
[…] Chris Evans for the maxscript syntax highlighting! This was written by Dave Buchhofer. Posted on Monday, […]
Pingback by Oh my! (Buchhofer.com) › Maxscript: Checking a remote Service’s Status — 2008/08/11 @ 5:07 PM
hey man, thanks for putting this together.
Comment by Ben Throop — 2009/06/22 @ 5:10 AM