Re: announce: qtsourceview 0.0.2



Diego Iastrubni wrote:
Hi all,

I would like to announce something which might seem "off topic" in this list: a syntax highlighting library written in Qt4.
Hi Diego,

interesting stuff! As you may guess I am not a qt fan so I will not comment on the code, but I think I speak for all the gtksourceview developers when I say that we welcome your work. Feel free to share any new .lang files you have with "upstream".

Why I am bothering you guys with this? Because as the input for the syntaxes I decided to use the GtkSourceView lang files. The files were pretty simple to decode (and I do mean decode, since I did not find any reference about their internal structure), and in very short time they gave pretty good results: I was able to load and color many files. I was wondering how many implementations are available which can load and parse the lang files, and use them in real life applications besides GtkSourceView (and this new library).

Well, the reference is in gtksourcelanguage.c and in the dtd ;)
I don't think there are other parsers available.

As a general note, you may want to know that as part of google Summer of Code, there is work being done on a new gtksourceview highlighter which will use different lang files, since as you may find out the current format has some limitations. Old .lang files will still be supported though.


Happy Hacking,

ciao
   Paolo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]