GNOME Bugzilla – Bug 540935
adding actionscript and mxml syntax files
Last modified: 2013-11-15 18:19:44 UTC
Hello attached are my attempts at making .lang files for actionscript and mxml (http://en.wikipedia.org/wiki/ActionScript and http://en.wikipedia.org/wiki/MXML) (I've attached them to this post, but they can also be found here http://code.google.com/p/flashbsm/source/browse/testing/language-specs/)
Created attachment 113698 [details] actionscript .lang file
Created attachment 113699 [details] mxml .lang file
Created attachment 113753 [details] actionscript .lang file made some small changes to the .lang file for actionscript....
I moved the actionscript.lang and mxml.lang file to googlecode a while back and can be found here http://code.google.com/p/flashbsm/source/browse/testing/language-specs That aside, I'm having a slight problem where I can't have comments before the package declaration. even if all I have for the "as" context is <context id="as"> <include> <context ref="package"/> </include> </context> somehow the comment is still highlighted and anything below it isn't highlighted. And I can't work out why, if anyone can help, that'd be great. thnx.
an example of an .as file would be //comment package folder.path { public class test { //stuff goes here } }
weirdly it works if I leave atleast two blank lines between the start of the file and the first comment....
GtkSourceView has syntax files for actionscript and mxml.