Re: [gedit-list] Documentation for syntax highlighting files?



Il giorno ven, 24/11/2006 alle 10.46 +0100, Matej Cepl ha scritto:
> Hi,
> 
> this is my first post to this list, so let me introduce myself -- I
> have been using Linux for many years already, but only now when I get
> into this new job (see my email address) I had to switched from my
> beloved KDE to that other DE.
> 
> To my biggest surprise the experience is so far not that bad as I
> expected ;-). However, there are bits (or sometimes pretty big blobs,
> but that's not the case with gedit) which are missing. So for example,
> I would love to have syntax highlighting for .spec files -- I haven't
> found any, so I would like to make .lang file for them (I created
> couple of syntax highlighting files for Kate, so I don't think it
> should be that difficult). However, I haven't found any documentation
> of their syntax. Can anybody point me to the one, please?
> 

Hi Matej, sorry for the delayed response... it was a busy week :)

There are no docs for the .lang format version 1 (the one currently used
by gtksourceview), but the format is really easy and you should be able
to figure it out from the other examples. GtkSourceView 2 which is being
worked on, uses a more powerful .lang format and luckily that one is
documented properly[1] :-)

That said, there is already a .lang file for spec file and we plan to
integrate it soon (it was contributed while we were in string freeze so
we couldn't add it for 2.16): it's attached here
http://bugzilla.gnome.org/show_bug.cgi?id=122127


ciao
	Paolo


1: http://live.gnome.org/GtkSourceView/NewLangFormat

> Thanks a lot,
> 
> Matěj
> 
> 
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list




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