POV-Ray : Newsgroups : povray.general : GtkSourceView 2.0 language file for 3.7 : Re: GtkSourceView 2.0 language file for 3.7 Server Time
29 Jul 2024 00:23:13 EDT (-0400)
  Re: GtkSourceView 2.0 language file for 3.7  
From: Anthony D  Baye
Date: 3 Dec 2013 20:20:01
Message: <web.529e831f7b96886e89b5ac30@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "Anthony D. Baye" <Sha### [at] spamnomorehotmailcom> wrote:
> > here: http://pastebin.com/NaCa4MwD
> >
> > it might be missing a few keywords still.  I modified it  (and did some cleanup)
> > from one that I've been using for a while so that it correctly identifies .pov
> > and .inc files and preselects the PoV-Ray 3.7 language file.
> >
> > If you find any keywords that are missing, let me know and I'll fix it.
> >
> > --tested in gedit.
> >
> > I can post a copy of the file in utilities if anyone is interested.
> >
> > Let me know what you think.
> >
> > Regards,
> > A.D.B.
>
> Hi!
> I download povray37.lang and replace it in
> /usr/share/gtksourceview-2.0/language-specs
> Don't work! Gedit, Geany...

works for me in gedit, using the Cobalt theme.  screenshot in p.b.i

Interesting thing about most gtk themes i've seen:  They all incorrectly define
net-address-in-comment whereas the def:comment identifier uses the "underlined"
style for email and web addresses in comments.  There is no
"def:net-address-in-comment" as far as I can tell.

the fix is to edit your theme before installing it, and change the line that
defines "net-address-in-comment" to define "underlined" instead

Regards,
A.D.B.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.