FAQ Search Memberlist Usergroups
Jolt Country Forum Index
Register Profile Log in to check your private messages Log in
Log in Log in

Text editors and IDEs for Hugo
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors
View previous topic :: View next topic  
Author Message
Gerynar



Joined: 11 May 2010
Posts: 12
Location: Indiana

PostPosted: Mon Jul 09, 2012 7:48 pm    Post subject: Reply with quote

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]
Back to top
View user's profile Send private message Visit poster's website
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Mon Jul 16, 2012 2:24 pm    Post subject: Reply with quote

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?title=Supported_Editors
Back to top
View user's profile Send private message AIM Address
Jizaboz



Joined: 31 Jan 2012
Posts: 567
Location: USA

PostPosted: Mon Jul 16, 2012 2:37 pm    Post subject: Reply with quote

Where can I grab the Gedit syntax file?

(sorry, should have asked this earlier)
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Mon Jul 16, 2012 2:42 pm    Post subject: Reply with quote

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\
Back to top
View user's profile Send private message AIM Address
Jizaboz



Joined: 31 Jan 2012
Posts: 567
Location: USA

PostPosted: Mon Jul 16, 2012 3:33 pm    Post subject: Reply with quote

Thank you very much!
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Tue Jul 17, 2012 1:13 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Mon Apr 08, 2013 10:23 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address
Bainespal



Joined: 09 Jul 2010
Posts: 151

PostPosted: Wed Apr 10, 2013 7:41 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Roody_Yogurt



Joined: 29 Apr 2002
Posts: 1993
Location: Milwaukee

PostPosted: Wed Apr 10, 2013 11:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Jolt Country Forum Index -> Hugo's House of Horrors All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001 phpBB Group

Theme by Kage Musha - RPG Garden

Copyrights and trademarks are all of the belonging company. No copyright Infringement intended