Forum > Options
[SOLVED] How to "Jump To" the "begin" of a method, not the declaration
(1/1)
RedOctober:
I've just upgraded from Lazarus 2.0.10 to 3.4. In my old version, I can hold down the Ctrl key then click on a procedure or function call, and my cursor will jump me to the "begin" in the procedure or function who's name I clicked on. In 3.4, when I do this, I get jumped to the declaration at the top of the unit, then I have to Ctrl+down arrow to get to the "begin". In both versions, I have the exact same setting in Tools/ Options, Environment, Editor, Mouse, Ctrl Button = Jumps to implementation.
Is this a bug in 3.4, or is there something else I need to do to get the behavior I had in 2.0.10?
TIA.
Martin_fr:
Don't know, seems to work fine for me with 3.4.
Though, I don't use this normally. I just did a once off test. That may miss something.
Ignoring if the settings are the same....
Do you have the option "jump directly to method body" enabled?
Have you tested with
- ctrl left mouse click
- Alt cursor up
?
WooBean:
In Lazarus 3.99 (rev main_3_99-2623-g10f44cfcff) FPC 3.2.2 x86_64-win64-win32/win64 when
Tools/Options/[IDE Options]/Codetools/General/Jump directly to method body checkbox is checked - jumping works as TS expected.
RedOctober:
Hi All, thanks for the help. Jump works now. I did not realize that there was another setting involved that I didn't set.
"Tools/Options/[IDE Options]/Codetools/General/Jump directly to method body checkbox is checked"
(As described by both respondents)
Navigation
[0] Message Index