Page 2 of 2
Posted: Mon Jul 09, 2012 7:48 pm
by Gerynar
If you're truly interested in doing a hugo syntax file for kate, I've uploaded a few sample files at
http://gerynarsabode.org/Downloads/katehilite.zip
[/url]
Posted: Mon Jul 16, 2012 2:24 pm
by Roody_Yogurt
Just to give an update, I
did get a Kate syntax file working (after cribbing chunks of code off of the Inform syntax file), and it is now up at the Supported Editors page:
http://hugo.gerynarsabode.org/index.php ... ed_Editors
Posted: Mon Jul 16, 2012 2:37 pm
by Jizaboz
Where can I grab the Gedit syntax file?
(sorry, should have asked this earlier)
Posted: Mon Jul 16, 2012 2:42 pm
by Roody_Yogurt
Here's a direct link:
http://roody.gerynarsabode.org/hugo.lang
In Windows, it goes in:
\gedit\share\gtksourceview-2.0\language-specs\
Maybe that gives a clue on where to put it in Linux, too.
I also made a color scheme file:
http://roody.gerynarsabode.org/colors.xml
That goes in:
\share\gtksourceview-2.0\styles\
Posted: Mon Jul 16, 2012 3:33 pm
by Jizaboz
Thank you very much!
Posted: Tue Jul 17, 2012 1:13 pm
by Roody_Yogurt
You're welcome! To give credit where its due, though, most of the gedit syntax file was written by Royce Odle. I think I may have added another keyword group, but there's always more that could be added.
Posted: Mon Apr 08, 2013 10:23 am
by Roody_Yogurt
Just wanted to update this thread to say that Notebook Plus Plus has improved since I last looked at it. There can now be up to 8 keyword groups, and line-commenting/multi-line commenting works if you ignore the commenting section and go straight to the delimiter settings. "Find in Files" also looks like it works well enough now, and some of the plugin stuff works better, too.
I'm still happy with my other editor choices, but this is good news for anyone who wanted to love N++ a bit more. Anyhow, an updated user-definition file can be found here:
http://roody.gerynarsabode.org/hbe/syntax/npp/hugo.xml
Posted: Wed Apr 10, 2013 7:41 am
by Bainespal
Do you happen to know where to put the XML file in order to get the syntax highlighting working on Kate in Kubuntu? It seems like you should be able to import it from the Kate menu, from Settings>Configure>Fonts & colors>Highlighting Text Styles, but when I try to import "hugo.xml," it says, "File is not a single highlighting color file." In the dialog for selecting the file, it automatically has "None.katehlcolor" in the field for the file name, so I assume that's the extension it's looking for.
Posted: Wed Apr 10, 2013 11:22 am
by Roody_Yogurt
The folder path for the syntax folder under Windows is:
/KDE/share/apps/katepart/syntax/hugo.xml Maybe that can help you find the right place in Linux, too.
Other than that, I know I created the Kate syntax file back when I was still accidentally saving all of my files in PC format, so it's possible that your Kate is choking on the wrong-format carriage returns. In any case, I uploaded a new version in the correct format.