Skip to content

Update syntax.py to correctly colorize commented code#3339

Merged
j9ac9k merged 1 commit intopyqtgraph:masterfrom
kevinanewman:patch-2
Oct 2, 2025
Merged

Update syntax.py to correctly colorize commented code#3339
j9ac9k merged 1 commit intopyqtgraph:masterfrom
kevinanewman:patch-2

Conversation

@kevinanewman
Copy link
Copy Markdown
Contributor

Strings with '#' in them, or keywords, were not highlighted correctly, two-pass approach handles this issue.

Strings with '#' in them, or keywords, were not highlighted correctly, two-pass approach handles this issue.
@j9ac9k j9ac9k changed the title Update syntax.py Update syntax.py to correctly colorize commented code Oct 2, 2025
@j9ac9k
Copy link
Copy Markdown
Member

j9ac9k commented Oct 2, 2025

Thanks @kevinanewman for the PR!

@j9ac9k j9ac9k merged commit 8a5bccb into pyqtgraph:master Oct 2, 2025
36 checks passed
@kevinanewman kevinanewman deleted the patch-2 branch February 23, 2026 18:13
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.

2 participants