Page 1 of 1

Finding related If EndIf / Repeat Until etc. by keypress

Posted: Sun Jul 20, 2014 9:29 pm
by high key
Would be a nice feature to just press Ctrl Pageup, when the cursor is in a Endif-line to get to the related If-line. My If/Endifs are often quite far away (many hundred lines), so it's often very frustrating finding them. And yes, I do the indents very carefully, but if only one if or endif is at the wrong place, all hope is lost :?

I don't know, if any programming editor has such a feature?

Re: Finding related If EndIf / Repeat Until etc. by keypress

Posted: Sun Jul 20, 2014 9:41 pm
by freak
Place the cursor on the keyword itself and press Ctrl+K.

Re: Finding related If EndIf / Repeat Until etc. by keypress

Posted: Sun Jul 20, 2014 10:55 pm
by PB
Nice! I wasn't even aware of this. :)

Re: Finding related If EndIf / Repeat Until etc. by keypress

Posted: Mon Jul 21, 2014 12:00 am
by high key
@freak wow, that's exactly, what I was looking for! Thanks a lot!

Re: Finding related If EndIf / Repeat Until etc. by keypress

Posted: Mon Jul 21, 2014 9:48 am
by davido
Thanks freak, didn't know that. :D
Should have, though, as it is in the manual. :oops:

A little research shows that it is in the drop-down menu from Edit, but not in the right-click menu. Shouldn't both menues be the same?
I always use the right-click menu. So my wish is that it should be there, too.