For Programmer's Notepad: | For Notepad++: | For gedit: |
Quote Programmer's Notepad is a great tool for developers, featuring syntax highlighting, parenthesis matching, and tag closing among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This Scintilla scheme file adds Z80-specific syntax information for PN users to enjoy. | Quote Notepad++ is a great tool for developers, featuring syntax highlighting, parenthesis matching, and automatic indentation among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This language file adds Z80-specific syntax information for N++ users to enjoy. | Quote gedit ("Text Editor" in newer versions of GNOME) is a great tool for developers, featuring syntax highlighting, parenthesis matching, and automatic indentation among other things. It's great for all your coding needs, but it also has a conspicuous lack of syntax support for Z80 assembly programs. This gedit language file adds Z80-specific syntax information for gedit users to enjoy. |
Anyway, this is a dirty hack, but it should work. I'm cheating and using Scintilla's 68K Assembler lexer to read the scheme file, but Scintilla doesn't support Z80 ASM :P Suggestions are VERY welcome. In particular I need suggestions on what certain commands should look like, which commands I need to support, etc. | Turns out it's a LOT easier to make language files for Notepad++ than for Programmer's Notepad, so here it is! Again, comments, suggestions, post below. | Finally got around to making a gedit version. I had to make the XML file myself, but it was a lot simpler and better-documented than the PN version. (No idea why PN had to make theirs so confusing.) |
(http://www.ticalc.org/archives/files/ss/817/81701.gif) | (http://www.ticalc.org/archives/files/ss/817/81703.gif) | (http://cemetech.net/img/ss/000531.gif) |
I like Geany. Lightweight on the resources, unlike Eclipse and NetBeans, and feature-rich. If I just want syntax highlight I use gedit. Any chance for one of those?
A little painful to get geany on windows since you have to install gcc separately though.
You don't have to, of course, but I would like it if you did. Gedit's syntax highlighting is pretty easy to change, about like bash's, but I'm not sure about geany's
Are you planning to make this available for as many editors as possible?
http://www.ticalc.org/archives/files/ss/816/81697.gif (http://www.ticalc.org/archives/files/ss/816/81697.gif)404 not found ???
Found two things
http://www.ticalc.org/archives/files/fileinfo/436/43629.html
http://www.ticalc.org/archives/files/fileinfo/436/43637.html
Hmm, looks like I'd have to recompile an entire source to add a language to Eclipse. So probably not, sorry.
Yay for the Gedit one! It works fine.
Thanks a lot for this. It makes learning from (public) source code much easier on the eyes.
And it works awesome in gedit in Ubuntu 10.10
Thanks a lot for this. It makes learning from (public) source code much easier on the eyes.
And it works awesome in gedit in Ubuntu 10.10
The gedit version should work with anything that uses gtksourceview (all versions of gedit and Anjuta, among others) :)
And if anyone has any bugs, post a report at http://clrhome.co.cc/projects/bugs/ (http://clrhome.co.cc/projects/bugs/) (testing out my new bug report system).
In the bugs page, I got a PHP error, you'd better watch out, I have your FTP name now.
Hmm, looks like I'd have to recompile an entire source to add a language to Eclipse. So probably not, sorry.can't you just create a plugin/add-on?
Hmm, looks like I'd have to recompile an entire source to add a language to Eclipse. So probably not, sorry.can't you just create a plugin/add-on?
I started using the N++ one and it's awesome :D. I was able to fix this easily, but the current version doesn't highlight SP as a register, and doesn't highlight bjump the same as bcall (in fact, it doesn't color it in at all).