Inconsistent error highlight behavior on first line of sketch/tab
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Using Arduino IDE 1.6.13 Hourly Build 2016/09/23 03:33 with Windows 7 64 bit
- Create a sketch with an error on line 1.
- **Sketch > Compile/Verify** - line 1 is highlighted.
- Move the cursor to line 1.
- Press Enter.
- The error line moves to line 2 but the error highlight remains at line 1.
- **Sketch > Compile/Verify** - line 2 is highlighted.
- Move the cursor to line 1.
- Press Enter.
- The error line moves to line 2 and the error highlight also moves to line 2, the correct and normal behavior.
This happens on any tab.
Contributor guide
Research direction
Reproduce the issue in Arduino IDE 1.x using the described sketch, then inspect the editor's error highlighting when Enter moves an error from line 1 to line 2. Done means the highlight follows the moved error on the first insertion, consistently across tabs and subsequent compilations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100