New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Highlighting - expressions and entity reference combo #117

Closed
bciano opened this Issue Nov 12, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@bciano

bciano commented Nov 12, 2014

Seems to only be an issue in the case where you have an inline expression and a character entity reference together.

xquery version "1.0-ml";

let $v := "hello"
let $x := <a href="/index.xqy?variable={$v}&amp;foo=bar"></a>
let $y := <foo>bar</foo>
return $x

Screenshot:

Red squiggly line under the ampersand, and the syntax highlighting is inaccurate for the remainder of the code - as per lines 5 and 6.

image

@ligasgr

This comment has been minimized.

Show comment
Hide comment
@ligasgr

ligasgr Nov 13, 2014

Owner

Thanks for raising the issue. Looks like an issue with lexical analysis. I'll try to fix it in the next release.
From what I've checked it's possible to overcome the issue by just re-opening the file.

Owner

ligasgr commented Nov 13, 2014

Thanks for raising the issue. Looks like an issue with lexical analysis. I'll try to fix it in the next release.
From what I've checked it's possible to overcome the issue by just re-opening the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment