CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

Maintain highlighting on matching braces

Open TravellingGuy opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. On longer files, it's difficult to find/see matching braces if they are not visible in the current window view. When you click on a brace, it highlights the matching brace for a second or two, but on longer documents, this isn't useful.

Describe the solution you'd like When your cursor is on a brace, maintain some sort of highlighting on the matching brace so you can scroll up/down in the document to find the matching brace easily. As well, a menu option and/or shortcut to jump to the matching brace.

Describe alternatives you've considered The alternatives I've considered are trying to scroll really, really fast before the current highlight disappears. This didn't work. :-)

Additional context Nuthin.

TravellingGuy avatar May 05 '23 17:05 TravellingGuy

FYI, you can select the content of matching braces by double clicking a brace.

1024jp avatar May 16 '23 06:05 1024jp

@1024jp is there a keyboard shortcut to highlight and select the text within the braces? So if the cursor is within a brace i want to select that bracket like double clicking the brace.

georgesnow avatar Apr 04 '24 14:04 georgesnow

In the next major update to be released this fall, a command named "Select Enclosing Symbols" will be added.

Screenshot 2024-06-29 at 12 08 29

1024jp avatar Jun 29 '24 03:06 1024jp