Hello,

I am trying to teach gedit to understand the Julia syntax.
I am using Ubuntu 12.04, 64 bits.

I tried the code from:
https://github.com/cko/juliaLang-gnome

I copied julia.xml to /usr/share/mime and julia.lang
to /usr/share/gtksourceview-3.0/language-specs/

For updating the mime types I used:
sudo update-mime-database /usr/share/mime

It does not work.

I fixed an error in julia.xml and one error in julia.lang,
but there are still errors in julia.lang.

See: https://gist.github.com/ufechner7/19e20d67d5000db294f2

I get the following error message if I launch gedit in the
console and open a .jl file:

(gedit:12899): GtkSourceView-WARNING **: Failed to load 
'/usr/share/gtksourceview-3.0/language-specs/julia.lang': Fehler beim 
Kompilieren des regulären Ausdrucks 
(?-ix)\b('[^\']|\\.'|'\\[0-7]{1,3}'|'\x[0-9a-fA-F]{1,2}'|'\u[0-9a-fA-F]{1,3}'|'\u[0-9a-cA-C][0-9a-fA-F]{3}'|'\u[dD][0-7][0-9a-fA-F]{2}'|'\U[0-9a-fA-F]{1,5}'|'\U10[0-9a-fA-F]{4}')\b
 
an Zeichen 59: Groß- und Kleinschreibung-beeinflussende Escape-Sequenzen 
(\l, \L, \u, \U) sind an dieser Stelle nicht erlaubt.

(Translation: Error compiling the regular expression ...
Escape sequences, that influence capitalization (\l, \L, \u, \U) are not 
allowed at this place.)

Any idea how to fix this?

Best regards:

Uwe Fechner

Reply via email to