[stella] gedit syntax highlighting

Ben Larson benjamin_e_larson at yahoo.com
Thu Jul 24 20:40:54 CDT 2008


I dunno if anyone besides me actually does any VCS development on a *nix platform, but regardless, I whipped up a .lang file to use with gedit which will do some basic 6502/VCS syntax highlighting for you (since I couldn't find anything on the internet).

Just drop it in '/usr/share/gtksourceview-2.0/language-specs', then open up your asm file in gedit and go to 'View->Highlight Mode->Sources' and pick the '6502 Assembly (Atari 2600)' entry which should now be there.

Anyone who actually makes use of this feel free to change/improve it.  It's pretty basic right now, and I am definitely not the master of regular expressions so I can probably use all the help I can get... :)

Ben


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6502.lang
Type: application/octet-stream
Size: 5260 bytes
Desc: not available
Url : http://atari2600.org/pipermail/stella/attachments/20080724/12c109cd/attachment.obj 


More information about the Stella mailing list