mbrevoort / CodeMirror2-xquery

In-browser code editor
http://codemirror.net/
Other
3 stars 1 forks source link

String that wrap multiple lines highlights incorrectly #16

Open clockworked247 opened 12 years ago

clockworked247 commented 12 years ago

let $s := 'import module namespace a = "http://marklogic.com/roxy/models/alert-lib" at "/app/models/alert-lib.xqy"; define variable $my:doc as node() external a:fire-event($my:doc)' return xdmp:eval($s, (xs:QName("my:doc"), fn:doc($cpf-document-uri)),

{xdmp:database("Alerting-content")} ) and it will be all red.
clockworked247 commented 12 years ago

Another example of the issue:

xquery version "1.0-ml"; (: correct comment :) "string", 6, <x/>, fn(' '), (: and what's this? :) 6, <x/>, <!-- ah well -->

clockworked247 commented 10 years ago

Mike, if you have a chance, we've had this bug open for over a year.

Thanks!