[MarkLogic Dev General] bounty hunting - codemirror highlighter
Michael Blakeley
michael.blakeley at marklogic.com
Sun Sep 26 17:55:13 PDT 2010
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>
>
>
>
>
>
More information about the General
mailing list