Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-11

Jump to end of method

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Is there a way to jump to the end of the method? For example: I might have a long method. Using Ctrl+Shift+[up|down] jumps from Interface to implementation. But when it jumps to the implementation, I am at the beginning of that method implementation. I often find I need to make some changes at the end of that method. So I need to manually scroll or PgDn until I find it. Search for 'end;' also doesn't work, because the method might have many begin..end blocks.

Any clues?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Mattias Gaertner
to Graeme Geldenhuys
Show quoted text 9 lines
Hi, Is there a way to jump to the end of the method? For example: I might have a long method. Using Ctrl+Shift+[up|down] jumps from Interface to implementation. But when it jumps to the implementation, I am at the beginning of that method implementation. I often find I need to make some changes at the end of that method. So I need to manually scroll or PgDn until I find it. Search for 'end;' also doesn't work, because the method might have many begin..end blocks.

Maybe: move cursor on 'begin' and press Ctrl-Shift-B

Mattias

Reply by email

Graeme Geldenhuys
to Mattias Gaertner

On Wed, Nov 26, 2008 at 11:38 AM, Mattias Gaertner >

Maybe: move cursor on 'begin' and press Ctrl-Shift-B

Ah, "jump to other end of block"... On my system it's Ctrl+Q,K

Thanks Mattias, that does exactly what I want. :-)

I have so many custom shortcuts, I think I should print out some or other Shortcut Cheatsheet or something. :-)

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email