After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 436528 - Add Erlang language support to gtksourceview
Add Erlang language support to gtksourceview
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-07 07:49 UTC by Martin Ankerl
Modified: 2007-08-26 16:10 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
erlang syntax highlighting file (2.86 KB, application/octet-stream)
2007-05-07 07:50 UTC, Martin Ankerl
Details

Description Martin Ankerl 2007-05-07 07:49:44 UTC
The following attachment is a syntax highlighting file for the language Erlang.

It contains one known bug that I am unable to fix, it cannot highlight correctly $" or $' (see http://www.erlang.org/doc/doc-5.4.13/doc/reference_manual/data_types.html#2.2 for details).

I have also submitted a bug report to freedesktop to add the mime type:
https://bugs.freedesktop.org/show_bug.cgi?id=10878
Comment 1 Martin Ankerl 2007-05-07 07:50:21 UTC
Created attachment 87678 [details]
erlang syntax highlighting file
Comment 2 Martin Ankerl 2007-06-27 18:58:10 UTC
Freedesktop has just fixed this:
http://bugs.freedesktop.org/show_bug.cgi?id=10878
Comment 3 Paolo Borelli 2007-07-07 13:46:03 UTC
Sorry for not having replied sooner, but gtksourceview was a bit in flux.

As of gtksourceview-1.90, the .lang format has changed. Can you update the language to the new format?

By the way, to be inlcuded in gtksourceview the lang file has to be licensed under the LGPL.
Comment 4 thelema 2007-07-07 16:26:35 UTC
I'll see what I can do to make a nice erlang.lang file, if noone beats me to it.
Comment 5 Paolo Borelli 2007-08-26 16:10:31 UTC
I created an erlang.lang in the new format and committed it. Seems to work fine with the test files I tried, but feedback is more than welcome.