Commit: up to the latest master variant (395ef8166870e2c6e1f63a7d97ac22e5e646e790)
Steps to reproduce:
(1) load the AvalonEdit solution
(2) Build & Run the Sample project ICSharpCode.AvalonEdit.Sample
(3) switch to "JavaScript" mode
(4) paste the following JavaScript:
const texts = [
`Hello world`,
`My 'Comma`,
`My end of Comma'`,
`My "Comma`,
`My incorrect highlighting " Dingens`,
`Inside "it seems to work" without issue.`
]
(5) result
As you can see the quote highlighting is going over two or more lines.
The JavaScript code is absolutly valid as I see:
Commit: up to the latest master variant (395ef8166870e2c6e1f63a7d97ac22e5e646e790)
Steps to reproduce: (1) load the AvalonEdit solution (2) Build & Run the Sample project
ICSharpCode.AvalonEdit.Sample
(3) switch to "JavaScript" mode (4) paste the following JavaScript:(5) result
As you can see the quote highlighting is going over two or more lines. The JavaScript code is absolutly valid as I see: