Find dialog leaves colored marker artifacts after being closed

A picture is worth a thousand words here:

Note the colored bits placed next to the scroll bar on the right. Those were created when I used the find command on one of my #defines. I think they are put there to mark all the 'hits' I had on the find.

This is a good feature, but the markers mean less when some remain after the find dialog box is closed. They then confuse with the next find command output.
I know this is a nit-picky little flaw, but on release I garontee (thanks Justin Wilson) that new users will complain. Now's the time to fix it.
It is never all the markers, just a random sampling.

Thanks for your report @weshowe.

That is correct.

This issue is tracked by the Arduino IDE developers here:

I just did some experimentation and didn't encounter that bug. Would you mind providing instructions I can follow to reproduce the problem of only some of the matches being marked?

My bad, there are multiple types of marks there, they are not all search hits.


In the above picture, a small black line appears to indicate the cursor position.
An orange vertical block apparently is telling me I have syntax errors (which are not real errors, this code compiles and runs).
Anyway, glad to know this is being worked on.

  • Wes

Thanks for checking.

I also tend to get a bit mixed up between the different markers in the scroll bar. Mostly in my VS Code scrollbar due to all the false positives from the spell check extension I installed on top of the normal ones.

If you turn on compiler warnings in File > Preferences you'll see the compiler is also warning you about this:

C:\Users\per\Documents\Arduino\sketch_may18a\sketch_may18a.ino:1:25: warning: narrowing conversion of '-1' from 'int' to 'const char' inside { } [-Wnarrowing]
 const char Murray[1] {-1};
                         ^

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