Add support for Colored Parentheses #380
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for coloring matching parenthesis to different colors ( if no matching parenthesis then color in red),
![image](https://private-user-images.githubusercontent.com/97249553/409629809-496624da-a5c9-4079-ab38-dc5757c64cea.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMTQxNTcsIm5iZiI6MTczOTMxMzg1NywicGF0aCI6Ii85NzI0OTU1My80MDk2Mjk4MDktNDk2NjI0ZGEtYTVjOS00MDc5LWFiMzgtZGM1NzU3YzY0Y2VhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDIyNDQxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRkYWJiNzU1ODc3NWM4ZTg0MGI3MDVkMjU3MjFhODNiY2EwM2Y3YWJhNGI5MGFhMjc0ZjI4NzA5ZjU0ZWM5MGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eVc3S9plKuo5HuYrQJzU2dLBjZoBnTufKg3gzDs647Q)
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).