Going to a Specified Method Line
You can locate a specific line of a method in the editor pane.
To find a specific method line
-
In the Methods List of the Class Browser, Primitive Types Browser, or Sender Browser lists such as references and implementors, select the method whose line in the source code you want to locate.
-
Select the Go To Line command from the Methods menu, or press Ctrl+Alt+G. The Find Position in Method Source dialog is then displayed, with the Line Number option button selected by default.
The current line at which the caret is positioned is displayed, and the range of line numbers is displayed in parentheses in the Specify Line Number text box as hint text, as shown in the following image.
-
In the Specify Line Number text box, specify the number of the line you want to locate. This position is an integer value within the range of lines for the current method.
A message box is displayed if you specify an integer outside this range.
-
Click the OK button. Alternatively, click the Cancel button to abandon the operation.
The caret is then positioned at the start of the specified line.
2020.0.01 and higher