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

Add support for Colored Parentheses #380

Open
wants to merge 6 commits into
base: upsilon-dev
Choose a base branch
from

Conversation

Oreig403
Copy link

@Oreig403 Oreig403 commented Feb 4, 2025

Added support for coloring matching parenthesis to different colors ( if no matching parenthesis then color in red),
Only quirk is that because the os can't allocate big buffers I had to rely on a static table for every unmatched parenthesis position (so their is a theoretical limit to the number of parenthesis the program will color correctly).
image

@Oreig403
Copy link
Author

Oreig403 commented Feb 5, 2025

Just noticed a bug with the algorithm because it counts parentheses that are in string, I am working on a fix

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.

1 participant