I updated the IDE from 1.8 to the latest. Now I have a problem where some lines whitespace is a peach color. I have searched around and haven't a similar problem, so I hope someone out there knows what I did and how to get it back. I have uploaded an image. Thanks.
What OS is this? Deducing from the screenshot, it's a Mac. Which version exactly?
Under the Settings/Preferences, try switching the Theme to Dark and then Light.
Many code editors have a way of showing actual spaces (and tabs), sometimes with a light dot, instead of "nothing". Note that there is trailing whitespace on line 20 for example, which is considered gauche. For some reason, it's peach.
Hi @mwalczak. Arduino IDE highlights all the matches to the text entered in the "Search" field with this background color. What might be confusing is that the highlights remain even when the IDE's left side panel where the "SEARCH" view is displayed panel is collapsed, or when another view (e.g., "LIBRARY MANAGER") is open in the panel.
It looks like you put a space character in the "Search" field. If so, you can fix this by clearing the field.
Please try this:
- Click the icon that looks like a magnifying glass in the "activity bar" on the left side of the Arduino IDE window.
The "SEARCH" view will open in the left side panel. - Select all text in the field at the top of the "SEARCH" view.
- Press the Delete key on your keyboard.
Hopefully you will now see all the highlighting in the sketch editor disappear.
That was it, thanks.
Hi kenb4, thanks for the reply, it turned out that I accidentally had a search for a whitespace.
You are welcome. I'm glad the mystery of the peach whitespace has been solved
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.