# Eu Syntax files

### Euphoria Syntax for text editors

These files allow you to do syntax highlighting for the Euphoria programming language.

##### To Install:

For programs using GTK2 -- i.e. Pluma, gedit, etc.``

    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/

For programs using GTK3 -- i.e. EuGTK Sourceview``

    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/

Actually, it doesn't hurt to do both :)

##### Optional, if you prefer these styles;

`

    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/

`

##### You may have to change permissions on the following files:

`

    sudo chmod 777 /usr/share/gtksourceview-2.0/language-specs/euphoria.lang
    sudo chmod 777 /usr/share/gtksourceview-3.0/language-specs/euphoria.lang

`