Block selection? Possible?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Eggg
Posts: 1
Joined: Fri Aug 18, 2006 6:12 pm

Block selection? Possible?

Post 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.
TobyR
Posts: 4
Joined: Wed Mar 17, 2004 10:45 am

Post 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 ...
tuthlis
Posts: 1
Joined: Wed Aug 23, 2006 9:52 pm

Post by tuthlis »

Shift+Ctrl+M
Post Reply