Suggestion for Bracket Highlighting

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
Currently, SyntaxEditor will perform the bracket highlighting feature whenever the caret is either immediately before or after any bracket character.

In Whidbey, bracket highlighting is only performed if the caret is immediately before an opening bracket or immediately after a closing bracket.

One benefit of this is that it's easier to tell when the caret has been moved from one side of a bracket to another. As it currently functions, it's difficult to tell when you move the caret from one side of the bracket to the other because the bracket highlighting makes is difficult to see the caret. The way Whidbey performs, you know the caret has moved because the highlighting changes based on the side of the bracket you are on.

At the very least, it would be a nice option to provide the users with both methods of bracket highlighting.

Thanks for considering this!

Boyd

Comments (4)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Any ideas for a property name for this?


Actipro Software Support

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
How about 'SingleSidedBracketHighlighting' ??
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
It's now implemented for the 2.5 release. I'm thinking of calling it BracketHighlightingInclusive. If true, it will operate the old way, otherwise it will operate the way you requested.

Do you think BracketHighlightingSingleSided would be a better name than BracketHighlightingInclusive?


Actipro Software Support

Posted 19 years ago by Boyd - Sr. Software Developer, Patterson Consulting, LLC
Avatar
I think your property suggestion will be just fine. Thank you for implementing this, and I'm axiously looking forward to v2.5 (as are many others, I'm sure).
The latest build of this product (v24.1.0) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.