Project: aptanastudio
Issue APSTUD-5028: toggling multi-line comments in ruby corrupts syntax highlighting for entire document
If I use the toggle comment shortcut (CTRL+slash) with 2 or more lines, the syntax highlighting of the comments and surrounding ruby code is corrupted (see attached pic). With 'show whitespace' turned on, I can see that the comments have a strange line-feed character at the end (this renders as a small square). This seems to be the cause of the problem. If I copy the comments into a text editor and back again, the weird line-feeds are gone and the syntax highlighting is back to normal. This may be related to: https://jira.appcelerator.org/browse/APSTUD-4985 I've marked this as High priority because it really interferes with my (and I suspect many people's) normal workflow.
Story points: 5