On Apr 30, 2008, at 2:26 PM, dzurn wrote:
Once I read the reference further, I realized that PostScript would be the general case that I really wanted.
So searching for "textmate postscript" I came across the PostScript.tmbundle which gave me nice syntax highlighting. I was looking mainly for indentation help, partly to decode everything going on with a PostScript file which had almost all whitespace removed.
Finding that the PS language is oriented towards dictionaries with key and value pairs, really helped me understand the structure.
Then after I found http://macromates.com/svn/Bundles/trunk/Bundles/Postscript.tmbundle/ I could use the Get Bundle to actually install the existing PostScript.tmbundle.
That contains a language grammar and comment, but the scopes all seem to match so hopefully an indent capability might not be too hard to create.
Select the whole text, and use Text -> Indent Selection. Hopefully this will do the trick.
Darryl
Haris Skiadas Department of Mathematics and Computer Science Hanover College