Skip to content

Clear highlight on language change#624

Merged
erinharrington-12 merged 1 commit intomasterfrom
cursor/github-issue-472-fb6b
Feb 18, 2026
Merged

Clear highlight on language change#624
erinharrington-12 merged 1 commit intomasterfrom
cursor/github-issue-472-fb6b

Conversation

@twells46
Copy link
Copy Markdown
Contributor

@twells46 twells46 commented Jan 8, 2026

Clear compilation messages on language change to prevent stale error highlights from persisting.

Previously, error highlights from C/C++ compilation would remain visible in the editor even after switching to Python, as the messages array was not reset.

Fixes #472.


Open in Cursor Open in Web

Co-authored-by: twells <twells@kipr.org>
@cursor
Copy link
Copy Markdown

cursor Bot commented Jan 8, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@twells46 twells46 changed the title Github issue 472 Clear highlight on language change Jan 8, 2026
@twells46 twells46 marked this pull request as ready for review January 8, 2026 19:55
@erinharrington-12 erinharrington-12 self-requested a review February 18, 2026 19:22
Copy link
Copy Markdown
Contributor

@erinharrington-12 erinharrington-12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked locally and works as expected

@erinharrington-12 erinharrington-12 merged commit 2958bb9 into master Feb 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error highlight persists through coding languages

3 participants