Re: Is there any way to do this in GtkSourceView?
"Raja Mukherji" <[email protected]> Fri, 30 May 2008 22:14:03 +0100
| Newsgroups | gmane.comp.gnome.devtools |
|---|---|
| Message-ID | <[email protected]> |
That worked perfectly, thanks. 2008/5/30 Steve Frécinaux <[email protected]>: > On Wed, May 28, 2008 at 10:42 AM, Raja Mukherji <[email protected]> > wrote: > > Hi, > > I'm trying to create a .lang file for text that looks like html > interspersed > > with escape sequences "\<code>;", where <code> is written in a scripting > > language called Wrapl. The interpreter parses <code> so it can contain > > additional semicolons, but only within matching brackets. However the > syntax > > highlighting switches back to html after the first semicolon. I realize > this > > might be tricky to solve, but it could be possible to only switch back to > > html mode at the first semicolon after a matching bracket. Is there any > way > > to do this? > > Try adding a context for parenthesis: it seems that you expect the ';' > inside the parenthesis not to be considered as the end of your code, > so you should tell gtksourceview that parens extend the block context. > _______________________________________________ gnome-devtools mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-devtools