bobbylight / RSyntaxTextArea

A syntax highlighting, code folding text editor for Java Swing applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`TokenImpl.isComment()` incorrectly reports `false` for markup comments

bobbylight opened this issue · comments

Description
In HTML and XML at least, spelling errors aren't identified in <!-- comments -->. The code is not identifying TokenTypes.MARKUP_COMMENT as a comment token type.

Steps to Reproduce
Specific steps to reproduce the behavior:
Open a file as HTML, XML, or any other markup type and put some spelling errors in a comment. They will not be squiggle-underlined.

See also related SpellChecker issue: bobbylight/SpellChecker#13