Page 1 of 1

Block selection? Possible?

Posted: Fri Aug 18, 2006 6:16 pm
by Eggg
I vaguely recall a method in textpad, or perhaps it was another editor i used to use, tho i forget what that may have been.

In any case, what i'm seeking is a "highlight" of the connecting block of code for any function, if statement, blocked code of any sort.

EG:

If ($code == 1)
{ <-- highlighted in a background color of yellow, when i'm working anywhere in this block.

}<-- also highlighted to show the matching block.



Is there anything like this available or creatable in textpad? I recall having it at some point, somehwere, and i'd like to have it again.

Posted: Sat Aug 19, 2006 10:27 pm
by TobyR
I vaguely remember brackets being highlighted in yellow, but I just tried CNTL+M ('Match Bracket) and it just selects the next bracket, and then the matching bracket. You migh be able to do something with macros I guess ...

Posted: Wed Aug 23, 2006 9:54 pm
by tuthlis
Shift+Ctrl+M