Comment format display error

I have a file with a large comment section at the top.
When I scroll that section it displays in "code-colors" and not as comment. The color scheme changes continuously during scrolling. teh comment is between /**/ as usual and I have some lines within with //.
I copied the file to a different window (new sketch) and ther the comment is displayed normal.

Not a real Problem but a small display flaw.

Is the left side an editor or a programming environment? Some suggestions...

  1. Check the first "/*" in the code for whitespace between "slash" and "asterisk".
  2. Inside the text a "/" could be part of another comment, but the closing "/" was deleted or whitespace was introduced.
  3. Check for paired opening and closing "/" and "/"

Both sides are displaying identical content, identical file, just in another IDE instance (rc7) one show odd behaviour other shows correct behaviour. All comments are as they should be, compiler does not complain.

Hi @Xinonix. Thanks for your report.

Please provide a sketch I can use to reproduce the issue. I did some experiments with long comments and was not able to reproduce the issue so maybe I have not produced the required conditions.

If it only occurs with a multi-file sketch, you can put the whole sketch folder into a ZIP file and then attach it in a reply here. You can make the attachment by clicking the "Upload" icon on the post composer toolbar:

image

Or by dragging and dropping the ZIP file on to the post composer field if you prefer.

Will do so once I get to a stage I can repeat the issue

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.