Forum > Editor
[Solved] Find declaration option
(1/1)
Graham1:
I have a unit with a procedure:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---unit myUnit; uses <something>; interface // Aprocedure myProc; implementation // Bprocedure myProc;begin // some codeend; end.
In my main program I use this unit and make a call to myProc. Now if I highlight that call in the source I can right-click and select 'Find declaration of myProc'.
But that takes me to point A in the unit. Is there an option that will take me to point B instead? The Codetools popup already shows me what A says so most of the time I really want to look at the code in the procedure.
Thanks.
Blaazen:
menu: Tools -> Options ... -> treeitems Codetools -> General -> checkbox "Jump directly to method body"
Graham1:
Exactly what I wanted! Thank you.
Navigation
[0] Message Index