[MarkLogic Dev General] bounty hunting - codemirror highlighter
Mike Brevoort
brevoortm at avalonconsult.com
Sun Sep 26 20:49:49 PDT 2010
Thanks Mike. I took that test when you first sent it, and it's at the top of
my test case with a change or two, followed by some other code as a test
case. The only case I didn't address was the quotes within an XML node,
hopefully I'll get to that this week.
Thanks
Mike
On Sun, Sep 26, 2010 at 6:55 PM, Michael Blakeley <
michael.blakeley at marklogic.com> wrote:
> It's great to see people stepping up to this challenge. You might want
> to try the test I sent to Patrick.
>
> let $let := <x>"test"</x>
> return element element {
> attribute attribute { 1 },
> element test { 'a' },
> attribute foo { "bar" },
> fn:doc()[ foo/@bar eq $let ],
> //x }
>
> -- Mike
>
> On 2010-09-26 17:13, Mike Brevoort wrote:
> > Here's the xquery highlighter I wrote for CodeMirror for the ipad bounty:
> > http://mbrevoort.github.com/CodeMirror/
> >
> > You can paste or edit in any xquery you would like into the textbox to
> see how well it styles it. There are two stylesheets that you can look at by
> clicking the light and dark links.
> >
> > There are a few outstanding items that I still want to address but
> overall I think it's getting close. I didn't implement the indentation
> formatting, not sure if I'll have time to approach that or not. I haven't
> written any documentation yet, but it's just like any other codemirror
> module. Let me know what you think!
> >
> > Thanks,
> > Mike
> >
> >
> > On Sat, Sep 11, 2010 at 10:32 PM, Mike Brevoort<
> brevoortm at avalonconsult.com<mailto:brevoortm at avalonconsult.com>> wrote:
> > OK, I think I'm going to take a crack at creating an xquery parser for
> the codemirror project...
> >
> > Mike
> >
> > --
> > Mike Brevoort / Enterprise Web Practice Lead / Avalon Consulting LLC<
> http://avalonconsult.com>/ 303-834-7509 /
> > @mbrevoort<http://twitter.com/mbrevoort>
> >
> >
> >
> >
> >
> >
> >
> > --
> > Mike Brevoort / Enterprise Web Practice Lead / Avalon Consulting LLC<
> http://avalonconsult.com>/ 303-834-7509 /
> > @mbrevoort<http://twitter.com/mbrevoort>
> >
> >
> >
> >
> >
>
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://developer.marklogic.com/mailman/listinfo/general
>
--
Mike Brevoort / Enterprise Web Practice Lead / Avalon Consulting LLC<
http://avalonconsult.com>/ 303-834-7509 /
@mbrevoort <http://twitter.com/mbrevoort>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100926/637e5fac/attachment.html
More information about the General
mailing list