Cool tip!
Thanks a lot!

On Fri, Jan 4, 2013 at 9:10 PM, Harutyun Amirjanyan <
notifications@github.com> wrote:

> In lib/ace/mode/xquery_highlight_rules.js:
>
> > +        }, {
> > +            token: "comment",
> > +            regex: "<\\!--",
> > +            next: "xmlcomment"
> > +        }, {
> > +            token: "comment.doc",
> > +            regex: "\\(:~",
> > +            next: "comment.doc"
> > +        },
> > +        {
> > +            token: "comment",
> > +            regex: "\\(:",
> > +            next: "comment"
> > +        },
> > +        {
> > +            token: ["text", "meta.tag"], // opening tag
>
> it might be better to use ["meta.tag", "meta.tag.tag-name"] similar to
> other xml modes, so that tag matching code can work the same for all modes
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ajaxorg/ace/pull/1184/files#r2554360>.
>
>