OK, for the one or two other people who develop Hugo games in Linux, I've got a syntax highlight definition file. It's for gedit. Just copy the file to the gtksourceview-2.0 directory. (Usually located at /usr/share/gtksourceview-2.0/language-specs).
(Fixed multi-line comments)
http://gerynarsabode.org/index.php?opti ... id=3&cid=6
YASH (Yet Another Syntax Highligher)
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 12
- Joined: Tue May 11, 2010 5:50 pm
- Location: Indiana
- Contact:
YASH (Yet Another Syntax Highligher)
Last edited by Gerynar on Fri Jul 23, 2010 5:13 pm, edited 2 times in total.
-
- Posts: 151
- Joined: Fri Jul 09, 2010 8:59 am
-
- Posts: 12
- Joined: Tue May 11, 2010 5:50 pm
- Location: Indiana
- Contact:
-
- Posts: 151
- Joined: Fri Jul 09, 2010 8:59 am
-
- Posts: 12
- Joined: Tue May 11, 2010 5:50 pm
- Location: Indiana
- Contact:
- Tdarcos
- Posts: 9556
- Joined: Fri May 16, 2008 9:25 am
- Location: Arlington, Virginia
- Contact:
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
Yeah, his choice of block comment code is a little strange. Since much of Hugo's design is, um, inspired by Inform 6, he probably got the exclamation-mark-as-comment from there and made up his own multi-line version.
Also, TADS has kind of always been known as the "IF system for C programmers" (which DOES use C-style comment blocks) so he might have been trying to keep away from that.
Anyhow, you can find a list of editors that handle Hugo's block comments correctly here: http://hugo.gerynarsabode.org/index.php ... ed_Editors
(I'm sure there are more out there)
Also, TADS has kind of always been known as the "IF system for C programmers" (which DOES use C-style comment blocks) so he might have been trying to keep away from that.
Anyhow, you can find a list of editors that handle Hugo's block comments correctly here: http://hugo.gerynarsabode.org/index.php ... ed_Editors
(I'm sure there are more out there)