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?
PB4B4: Finding matching parentheses in PB IDE ?
Re: PB4B4: Finding matching parentheses in PB IDE ?
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.
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.
editor will show you the command that the NEXT parentheses relates to.
Code: Select all
a$=" test "
b$=Left(Trim(Mid(a$,1,2)))
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.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
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?!?!
I'd just settle for some way to have the matching cursor more overtly indicated.
Not asking for much, am I?!?!
