You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Block comment detection is extremely finicky, as is detection of comments within them. The top row isn't styled at all, also if there is no white space immediately following the blockCommentStart, the whole block is thrown out.
Steps to reproduce:
/*!this breaks it all? Why am I not colored*//* ? I don't break it, but I'm not styled! I am red/* ! I don't work at all */
I discovered the same behavior with C and C++ code.
It does not seem possible to style a comment line that uses /* */ style comments on a single line.
I could style multiline comment only if the first comment line of a multiline comment started with /**. If I remove that superfluous *, then the styling does not work as expected.
The behavior you are describing is because jsdoc comments (/**) are styled(and more importantly, detected) differently than normal block comments.
My pull request should fix this issue, provided it gets accepted.
Issue:
Block comment detection is extremely finicky, as is detection of comments within them. The top row isn't styled at all, also if there is no white space immediately following the blockCommentStart, the whole block is thrown out.
Steps to reproduce:
Expected outcome:
All of the above text should be colored.
Actual outcome:
None of the above text is colored.
related to #447
The text was updated successfully, but these errors were encountered: