Jerry Rocteur <[EMAIL PROTECTED]> wrote on 12/30/02 at 10:16p: > Is there a way to see if you have as many closing brackets as you have > opening brackets with BBEdit ??
In the BBEdit I use (BBEdit Lite 6.1.2) Cmd-B solves this problem. I imagine that all versions of BBEdit contain the same feature. When your parentheses, braces, brackets, etc. are all properly arranged in matching pairs and you type Cmd-B, BBEdit highlights the smallest text section containing the insertion point that is enclosed by matching braces. Therefore, if the insertion point is on one brace and you want to find its partner, hit Cmd-B and look at the other end of the highlighted section. Furthermore, even without Cmd-B, while you are typing the text in, each time you type a closing brace, the matching opening brace is highlighted for a brief time, probably a fraction of a second. (You may need to turn this on in the preferences.) If you learn to look out for this as you type, you will catch errors more or less as they occur. If a failure of matching affects the text where the insertion point is, then Cmd-B doesn't provide any visible response.