[Implemented] Jump to opposite end of loop

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

[Implemented] Jump to opposite end of loop

Post by PB »

You know how you can hold down Ctrl and double-click a procedure name to
jump to the procedure itself, well it would be very handy that if you did the
same thing to a loop command, that the editor jumps to the opposite end of
the loop.

For example, Ctrl+DoubleClick on "Repeat" would jump to either "ForEver"
below it (or "Until" below it if "ForEver" wasn't used). Know what I mean?
Same thing for For/Next, While/Wend, and so on.

And likewise, Ctrl+DoubleClick on "ForEver" would jump up to "Repeat" in
the code above it.

Because I have a really long Repeat/ForEver loop, and always need to jump
from one end of it to the other, and it's a hassle to scroll the editor manually.
#NULL
Addict
Addict
Posts: 1497
Joined: Thu Aug 30, 2007 11:54 pm
Location: right here

Post by #NULL »

why not use jumpers (i know, sometimes if you have many different jumpers you have to switch through)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Many? Try hundreds for a single app. :)
Post Reply