Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error line editor decorator not visible when using "High Contrast" themes #1271

Open
3 tasks done
per1234 opened this issue Aug 2, 2022 · 0 comments
Open
3 tasks done
Assignees
Labels
topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project

Comments

@per1234
Copy link
Contributor

per1234 commented Aug 2, 2022

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

  1. Select File > Preferences... from the Arduino IDE menus.
  2. Select "Dark High Contrast" from the "Theme" menu.
  3. Click the OK button.
  4. Create a sketch that will produce a compilation error:
    void setup() {}
    
    #error
    
    void loop() {}
  5. Select Sketch > Verify/Compile from the Arduino IDE menus.

🐛 The line related to the compilation error is not highlighted.

image

Expected behavior

Error line is highlighted in editor when using the "High Contrast" themes, as is done with the other themes:

image

Arduino IDE version

Original report

d7f7010

Last verified with

8f8b46f

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
@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: theme Related to GUI theming labels Aug 2, 2022
@per1234 per1234 changed the title Error line editor decorator not visible when using "High Contrast (Theia)" theme Error line editor decorator not visible when using "High Contrast" themes Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: theme Related to GUI theming type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants