I made some improvements to my XQuery CodeMirror parser/highlighter as well as submitted a pull request back to the primary CodeMirror repository.
http://mbrevoort.github.com/CodeMirror/ Enjoy! Thanks, Mike On Sun, Sep 26, 2010 at 6:13 PM, Mike Brevoort <brevoo...@avalonconsult.com>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 < > brevoo...@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> > > > > > -- Mike Brevoort / Enterprise Web Practice Lead / Avalon Consulting LLC< http://avalonconsult.com>/ 303-834-7509 / @mbrevoort <http://twitter.com/mbrevoort>
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general