Txt2tags and gedit
Stefano D’Archino told us about his new creation: the txt2tags language file for gedit.
His instructions follows:
- Put the file in /usr/share/gtksourceview-1.0/language-spec
- Adjust the colors for the syntax in Gedit preferences
Zoom.Quiet, a long time txt2tags user, gave us a nice screenshot of his gedit using this file:

FYI: gedit is the official text editor of the GNOME desktop environment. I know you already knew that, but… You know :)
June 20, 2007 at 11:31 am
If you do not have super user rights or want to enable syntax highlighting just for yourself, then copy the .lang-file to
~/.gnome2/gtksourceview-1.0/language-specs/
.
It’s explained here: http://textmethod.com/wiki/ReStructuredTextToolsForGedit
You also can create a new mime-type. Check out my howto:
file:///media/srv/home/dfm/web/tiddlywiki.html#%5B%5BGedit-Highlighting%20for%20Text2Tags%5D%5D
June 20, 2007 at 11:33 am
oops. wrong link. this one’s working now:
http://www.felixhummel.de/tiddlywiki.html#%5B%5BGedit-Highlighting%20for%20Text2Tags%5D%5D
April 1, 2008 at 10:49 pm
Current Gedit uses gtksourceview 2.x, which luckly is backwards compatible with version 1.x language specifications like this one.