Re: Modifying C/C++ lang files for gtksourceview

Paolo Maggi <[email protected]>
Newsgroups gmane.comp.gnome.devtools
Organization Politecnico di Torino
Message-ID <1107427101.3865.9.camel@elilix>
Hi!

> What I have done:
> 1. deleted /usr/share/.../c{,pp}.lang
> 2. put my file "cc++.lang" in that dir

> gEdit does not show C, C++, or "C and C++" (mine) in
> its syntax highlighting color-setting dialog dropdown
> box.
> 

Is it shown in the "Highlight Mode" menu?

> Also, there is no documentation on the gtksourceview
> sourceforge site about adding additional lang files
> (it says TODO).  It also isn't mentioned in any of the
> files in /usr/share/doc/gtksourceview-1.0.

You are right... 
We have no time to update the  web site... any volunteer?

You have to put your .lang files in
${prefix}/share/gtksourceview-1.0/language-specs/ (for system wide .lang
files) or in ~/.gnome2/gtksourceview-1.0/language-specs/ (for user
defined .lang files)

Regards,
Paolo

_______________________________________________
gnome-devtools mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-devtools
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCAf8ccPDT9SyqFFQRAnXWAKC8AiAhx+xV84JyQUiXaqrSL63IZQCfTUdA
/Ajn/BDPTnh08W1GRocnxEE=
=bq+K
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.