<!DOCTYPE html> <head> <title>Eu Syntax files</title> </head> <body> <hr /> <h3>Euphoria Syntax for text editors</h3> <hr /> <img src="cc.png" alt="color coded syntax" border="1" /> <p> These files allow you to do syntax highlighting for the Euphoria programming language. </p> <h5>To Install:</h5> <p> For programs using GTK2 -- i.e. Pluma, gedit, etc.<code><pre> sudo cp euphoria.lang /usr/share/gtksourceview-2.0/language-specs/euphoria.lang sudo cp gedit_syntax.xml /usr/share/mime/packages/ sudo cp classic.xml /usr/share/gtksourceview-2.0/styles/</pre></code> </p> <p> For programs using GTK3 -- i.e. EuGTK Sourceview<code><pre> sudo cp euphoria.lang /usr/share/gtksourceview-3.0/language-specs/euphoria.lang sudo cp gedit_syntax.xml /usr/share/mime/packages/ sudo cp classic.xml /usr/share/gtksourceview-3.0/styles/</pre></code> </p> <p> Actually, it doesn't hurt to do both :) </p> <p> <h5>Optional, if you prefer these styles;</h5> <code><pre> sudo cp cobalt.xml /usr/share/gtksourceview-2.0/styles/ sudo cp oblivion.xml /usr/share/gtksourceview-2.0/styles/ sudo cp cobalt.xml /usr/share/gtksourceview-3.0/styles/ sudo cp oblivion.xml /usr/share/gtksourceview-3.0/styles/ </pre></code> <h5>You may have to change permissions on the following files:</h5> <code><pre> sudo chmod 777 /usr/share/gtksourceview-2.0/language-specs/euphoria.lang sudo chmod 777 /usr/share/gtksourceview-3.0/language-specs/euphoria.lang </pre></code> </p> </body> </html>