Re: [gedit-list] Custom .lang file.



I'm not sure if that feature is supported by GtkSourceView2. Maybe it's worth to find that out for sure before digging to deep. I've been crying (not on this list though) for the same feature for web markup (incredibly useful) but to no avail so far. 

Good luck!

On Sun, Jul 4, 2010 at 3:44 AM, Grigory Sarnitskiy <sargrigory ya ru> wrote:
Hello, I'm making custom .lang file.

I want to make some special syntax highlighting, but can't find any examples.

I want to highlight keywords in pairs, so

box

end

will be highlighted, but if there is no matching "end" for "box", there is no highlighting. Or if there is no matching "box" for "end". It resembles colored brackets.

To be precise, "box" should also start with the new line and "end" must be on separate line. Between these may be another keyword pairs.
_______________________________________________
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]