highlight brackets in code

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
This topic is 14 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
dominik.ecke
Posts: 38
Last visit: Thu Apr 16, 2015 7:14 am

highlight brackets in code

Post by dominik.ecke »

hello there,

I would like to see a feature most other editors already have:
highlight brackets which belong together.

Usually the cursor position is used, so if there is a bracket e.g. to the left of the current cursor position, this bracket is highlighted together with the second bracket.
Examples (| = the cursor):

1. "This is code ( in brackets )| and some more code" -> The brackets belonging together are highlighted.
2. "This ( is code ( in brackets (and even more brackets) )| and ) some more code" -> This also works for nested brackets.
3. "This code has incomplete )| brackets" -> No highlighting, as the other bracket is missing.

Any chance this wil be implemented?
P.S.: using PrimalScript 2007 v4.5.580
User avatar
jhicks
Posts: 1789
Last visit: Mon Oct 19, 2015 9:21 am

highlight brackets in code

Post by jhicks »

PrimalScript 2009 has bracket highlighting. You'd have to test to see if it meets all of your requirements. The latest 2007 build does not and I don't know if there are plans to backport this feature. You can always find the matching bracket by putting your cursor at the first one and using Ctrl-M.
User avatar
dominik.ecke
Posts: 38
Last visit: Thu Apr 16, 2015 7:14 am

highlight brackets in code

Post by dominik.ecke »

ok, thanks.
Did not know about Ctrl-M :)
This topic is 14 years and 11 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked