Hi. It's already done in Eclipse's shpaml-colorer plugin (https://github.com/occulens/shpaml-colorer), but I can't get it to work with Aptana. Aptana is much more concerned on web development than Eclipse, so I think it should be supported. I could eventualy try to rewrite this lexer from shpaml-colorer to Aptana by myself, but I can't find anything about custom lexers in documentation. I asked about this issue on Stack Overflow - http://stackoverflow.com/questions/10826370/custom-editor-lexer-in-aptana-studio-for-unsupported-languages .