This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hightling for DTD's is confused by unmatched single quotes in comments Open attached file in editor, see snapshot.
Created attachment 69359 [details] example file to reproduce issue.
Created attachment 69360 [details] snapshot of this file inside IDE showing broken highlighting
Visible bug. I'm not an expert in highlighting, but I'll try to fix it for 6.5.
The DTD highlighter does not recognize '--' comments at all. See http://www.w3.org/TR/WD-html40-970917/intro/sgmltut.html#h-3.2.2 for a definition. I do not want to touch the 8 years unmaintained javacc-based grammar for DTD; rather a new lexer based on lexer APIs should be provided.
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.