Function list command (Layout tab)

Use this command to toggle Function List visibility. This command shows the list of functions in the active document. The results are displayed in dockable window either in alphabetical order, or in order they occur in the document. By double-clicking on one of the result lines UltraEdit will position to that line in the file and the focus will change to the file. If Enter is pressed while focus is in the Function List, UltraEdit will position to that line and focus will remain in the function list. CTRL+Enter will also position to the line in the file and the focus will change to the file.

UltraEdit searches for a particular pattern to determine if a line is considered a function. The pattern that is searched for is a regular expression string(s) that may be modified by the user. The regular expression string(s) is defined in the active wordfile and each language may have its own definition. By default the regular expression string uses UltraEdit style regular expressions. If desired, Perl compatible Regular Expressions may be used for the function strings by adding the following:

/Regexp Type = Perl

See the Syntax Highlighting section for details on changing the string used for recognizing a function.

While navigating through the file, UltraEdit will attempt to highlight the current function that the cursor is in. In reality it will find the previous function in the file (to the cursor position) that it recognized as a function and highlight this. If the cursor is between functions, or after the last function, the previous function recognized will be highlighted. If the option for all files in the project to be shown in the function list is set, the position of the cursor will not be highlighted.

The context menu in the Function List includes the following options:

Sort List sorts functions alphabetically. If this is not selected, functions are listed in logical order.
List for all Project Files lists functions for all files in active project. If this is not selected, the functions listed are limited to the active file.
Copy to Clipboard copies contents of function list to clipboard
Refresh Function List refreshes function list (equivalent to F8)
Flat List toggles display of functions between flat and hierarchical modes

The combobox at the top of the function list window allows the user to search for functions in the active file by typing any amount of characters to match the name of a particular function(s). All functions matching the typed characters will then be populated into the combobox, which the user can open by clicking the combobox arrow. Selecting any of the functions in the combobox list will jump to that particular function in the active file.