-
Notifications
You must be signed in to change notification settings - Fork 236
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
Matching Bracket/Brace/Paren Highlight #337
Comments
So, if I were to try implementing such a feature (first of all, would it even be welcome?), is there any specific strategy I should be looking at? This goes for the other feature request I've added. |
If implemented directly on However, if you wrote an example in the demos package that does what you propose, that would be accepted as an example for others to follow if they desire the same thing. At the same time, if you see #275, you'll see that Tomas would be greatly interested in one who would build a fully-featured code area on top of this project |
Tomas would have a better understanding for how to do this. I'll give you my take for now. No doubt you should style the block/parent with a style class specific to that:
|
After reading your original comment again, there's one last thing worth sharing. I don't think there is currently a way to create a red (or some other colored) box around a character(s). See the RichTextFX CSS Reference Guide |
I share Jordan's opinion that this is not something that should be directly supported by The exact style you have in your screenshot (rectangular outline) is not currently possible, but you could just use background color instead. We would also welcome contribution that adds the outline styling. This would be similar to adding background color (#166) and underline (#317). |
Closing as its outside the scope of this project. |
Enhancement suggestion:
Highlight the closing character for Bracket/Brace/Paren blocks in code (ex. red box outline around the opposite character).
The text was updated successfully, but these errors were encountered: