14.4.1. Jumping to a function

Select Find → Jump to Function... to display the Jump to Function dialog box to see a list of all the functions in the source file shown in the current file tab. If you select another file tab and then press Scan for Functions the list is refreshed for the new source file.

By default, the functions list is displayed sequentially, that is in the order the functions occur in the source file. Click the Sort check box to re-order the functions list into alphabetical order.

Click Jump, or double-click on the required name, to locate a function in your source file. This scrolls the file in the File Editor pane so that the first line of the function is visible towards the top of the pane. Click Close to close the Jump to Function dialog box and place the cursor at the start of the function ready for editing.

When editing a large file, the Jump to Function dialog is useful to find your way around. Select Find → Jump to Function... to display the Jump to Function dialog box containing the functions list for the current source file and the controls:

Show Curr

Moves the functions list highlight bar to show which function currently contains the cursor.

Jump Curr

Scrolls the file in the File Editor pane so that the first line of the function, currently containing the cursor, is towards the top of the pane. Click Close to close the Jump to Function dialog box and to place the cursor at the start of the function ready for editing.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential