How can I add in the regular expressions for an additional syntax language?
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
|
Gedit (the default text editor) using GTKSourceView for it's syntax highlighting. It uses XML files to define how to highlight different syntax. There is a tutorial and a reference document on the GTKSourceView site. Finished source file definitions are stored in |
|||
|
|
|
I assume you are talking about gedit (labeled as "text editor" in the ubuntu menu). Here is everything you need to know. Basically you have to create a new language definition for GtkSourceView, which is the syntax highlighting component used by gedit. |
|||
|
|