Page 1 of 1

PB4B4: Finding matching parentheses in PB IDE ?

Posted: Sun Feb 26, 2006 8:15 am
by USCode
How do I find a parentheses' matching parentheses in the PB IDE?

Do I put the cursor before or after the starting parentheses "(" and then hit what key (combination) to find it's matching end parentheses ")" ?

This isn't typically too much of a problem ever in PB but can be occasionally handy?

Re: PB4B4: Finding matching parentheses in PB IDE ?

Posted: Sun Feb 26, 2006 11:41 am
by PB
You put the cursor BEFORE a closing parentheses, and the Status Bar in the
editor will show you the command that the NEXT parentheses relates to.

Code: Select all

a$=" test "
b$=Left(Trim(Mid(a$,1,2)))
In the above, put the cursor between the 2 and the first closing parentheses.
The Status Bar will show the Mid command, so you know the next parentheses
is for Mid. If you now cursor right ONCE, the Status bar shows Trim, so you know
the next parentheses is for the Trim command. And so on.

Posted: Sun Feb 26, 2006 6:34 pm
by USCode
Hmmm, I think it would be nicer if I could put the cursor before the opening parentheses OR after the closing parentheses and be able to hit some key-combination to have the two matching parentheses temporarily highlighted.

I'd just settle for some way to have the matching cursor more overtly indicated.

Not asking for much, am I?!?! :wink: