Open
Description
Describe the problem
When an error occurs during compilation, the Arduino IDE indicates the related line in the sketch code by changing its background color in the editor (#1064).
🐛 This error line highlight is not visible when using the "Light High Contrast" or "Dark High Contrast" themes.
To reproduce
- Select File > Preferences... from the Arduino IDE menus.
- Select "Dark High Contrast" from the "Theme" menu.
- Click the OK button.
- Create a sketch that will produce a compilation error:
void setup() {} #error void loop() {}
- Select Sketch > Verify/Compile from the Arduino IDE menus.
🐛 The line related to the compilation error is not highlighted.
Expected behavior
Error line is highlighted in editor when using the "High Contrast" themes, as is done with the other themes:
Arduino IDE version
Original report
Last verified with
Operating system
Windows
Operating system version
10
Additional context
I verified that the highlight was missing from the introduction of the feature at 4611381, rather than being a later regression.
Originally reported by @UKHeliBob at https://forum.arduino.cc/t/highlighting-of-errors/1018281
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details