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

Reply via email to