GNOME Bugzilla – Bug 632935
Please add syntax highlighting for Opal
Last modified: 2010-12-25 13:02:30 UTC
gtksourceview2 does not have syntax highlighting for Opal [1]. Please add the attached highlight file. [1] http://projects.uebb.tu-berlin.de/opal/
Created attachment 173038 [details] opal.lang
I see that this file copyright is not from you. We don't add new files without the consentiment of the author. So we would need so agreement from him. Once that is done I'll check the file.
The file is licensed under GPL-2+, which gives you the agreement, but I am going to ask the author.
As the author of that file I'm not against including it in gtksourceview2.
Created attachment 176964 [details] opal.lang Updated opal.lang attached. It has now the same structure as java.lang.
Created attachment 176967 [details] LeapYear.impl Here is a small Opal program (calculating the leap year) written by me some years ago. Feel free to use it under the ISC license or LGPL license.
Created attachment 176969 [details] LeapYear.sign
Created attachment 176972 [details] opal.lang Update opal.lang. This time with these things fixed: <nacho> bdrung, <property name="mimetypes"/> that's not needed <nacho> <define-regex id="number">[1-9][0-9]*</define-regex> <- that's not used anywher <nacho> you are missing the class thingie
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.