2
votes
1answer
49 views

Create a custom syntax highlight in gedit

Following my question from long ago, I am still trying to tweak my fortune handling capabilities. The display in terminal is awesome, just one thing remains - syntax highlighting in Gedit as I add, ...
0
votes
1answer
54 views

Is there a way to get Smarty syntax highlight in gedit?

I'm using smarty to develop a website and I need syntax highlighting. Currently gedit only highlights the html. Since my tpl files contains only html and smarty template functions. I've Google'd for ...
3
votes
1answer
461 views

How to change the default highlighting of gedit for a specific extension

Everytime I open a .m file, gedit associates Octave highlighting to it. I would like to change the default behavior to Matlab. How can I, in general, change the default highlighting that gedit gives ...
1
vote
1answer
115 views

How to highlight Non-consecutive text in Gedit?

Is there any short-cut/keyboard command to highlight, i.e., select, non-consecutive text in gedit? For instance, say I want to highlight the words there and text in the previous sentence at the same ...
3
votes
1answer
265 views

How to get QML syntax highlighting in gedit?

QML files opened with gedit don't have syntax highlighting. Is there a package providing a gtksourceview lang.spec file for QML? If not, has anyone written a lang.spec than can be installed locally?
2
votes
1answer
2k views

How to add a new language definition for syntax highlighting in Gedit?

I've attempted to create a new .lang file for getting Gedit to recognize the Julia programming language. I have read the tutorial, the reference document and the wiki page Gedit/NewLanguage, and I ...
6
votes
2answers
4k views

How do I add a syntax highlighter format to Gedit?

How can I add in the regular expressions for an additional syntax language?
11
votes
3answers
5k views

Can I set a default syntax highlighting in Gedit?

Until you save a document in gedit, syntax highlighting is turned off. There are obviously good reasons for this -- people might get confused if certain words were randomly showing up in different ...
1
vote
0answers
762 views

Gedit thinks everything is an Apache config file [closed]

When I open a text file that does not have the .txt extension, Gedit sets the syntax highlighting to Apache Conf every single time. This only started happening after my upgrade to 11.04. Is there a ...