(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
You can double-click on an item in the function list, and UltraEdit / UEStudio will jump to the occurrence of – and move focus to – that item in the file. If you select an item in the function list and press Enter, UltraEdit / UEStudio will jump to the occurrence but keep focus in the function list. You can press Ctrl + Enter to to jump to the definition and move focus to the item (same effect as double-clicking). | You can double-click on an item in the function list, and UltraEdit / UEStudio will jump to the occurrence of – and move focus to – that item in the file. If you select an item in the function list and press Enter, UltraEdit / UEStudio will jump to the occurrence but keep focus in the function list. You can press Ctrl + Enter to to jump to the definition and move focus to the item (same effect as double-clicking). | ||
− | The drop down at the top of the function list window allows you to search for items in the function list by typing any amount of characters to match all or part of an item in the function list. All items matching the typed string are populated into the drop down which you can open by clicking the down-arrow button on the right. Opening and selecting any of the items in the drop down list will jump to that particular item in the active file. After typing a string in the drop down's input, you can press Enter to immediately jump to the first matched item in the active file. You can also use the Down Arrow key to scroll down through other matches and jump to them as well. | + | The drop down at the top of the function list window allows you to search for items in the function list by typing any amount of characters to match all or part of an item in the function list. All items matching the typed string are populated into the drop down which you can open by clicking the down-arrow button on the right. Opening and selecting any of the items in the drop down list will jump to that particular item in the active file. After typing a string in the drop down's input, you can press Enter to immediately jump to the first matched item in the function list and active file. You can also use the Down Arrow key to scroll down through other matches and jump to them as well. |
As you navigate through a file containing function list items, UltraEdit / UEStudio will highlight the function in which the caret is positioned. This is done by locating the function occurring immediately ''before'' the current caret position. If the caret is outside of a function definition, the previous function will be highlighted. If the function list is configured to show functions for all project files, this behavior is disabled. | As you navigate through a file containing function list items, UltraEdit / UEStudio will highlight the function in which the caret is positioned. This is done by locating the function occurring immediately ''before'' the current caret position. If the caret is outside of a function definition, the previous function will be highlighted. If the function list is configured to show functions for all project files, this behavior is disabled. | ||
Line 22: | Line 22: | ||
|'''Sort list''' | |'''Sort list''' | ||
|Sorts functions alphabetically. If unchecked, functions are sorted in the order they occur in the file. | |Sorts functions alphabetically. If unchecked, functions are sorted in the order they occur in the file. | ||
+ | |- | ||
+ | |'''Automatically expand functions''' | ||
+ | |If checked, functions containing subgroups will automatically expand in the function list when you move the caret onto or into them in the editor. | ||
+ | |- | ||
+ | |'''Collapse all / expand all''' | ||
+ | |These options collapse or expand all functions in the function list to hide or show their subgroups. | ||
|- | |- | ||
|'''List for all project files''' | |'''List for all project files''' | ||
− | |Lists functions for all files in active project. If unchecked, the functions listed are limited to the active file. | + | |Lists functions for all files in the active project. If unchecked, the functions listed are limited to the active file. |
|- | |- | ||
|'''Copy to clipboard''' | |'''Copy to clipboard''' | ||
− | |Copies entire contents of function list to clipboard. | + | |Copies entire contents of function list to the clipboard. |
|- | |- | ||
|'''Refresh function list''' | |'''Refresh function list''' |
Shortcut: F8 (refreshes function list when already open)
The function list is a child window that displays functions from the active source file (or for all project files if enabled). You can toggle the function list in the Layout tab.
You can double-click on an item in the function list, and UltraEdit / UEStudio will jump to the occurrence of – and move focus to – that item in the file. If you select an item in the function list and press Enter, UltraEdit / UEStudio will jump to the occurrence but keep focus in the function list. You can press Ctrl + Enter to to jump to the definition and move focus to the item (same effect as double-clicking).
The drop down at the top of the function list window allows you to search for items in the function list by typing any amount of characters to match all or part of an item in the function list. All items matching the typed string are populated into the drop down which you can open by clicking the down-arrow button on the right. Opening and selecting any of the items in the drop down list will jump to that particular item in the active file. After typing a string in the drop down's input, you can press Enter to immediately jump to the first matched item in the function list and active file. You can also use the Down Arrow key to scroll down through other matches and jump to them as well.
As you navigate through a file containing function list items, UltraEdit / UEStudio will highlight the function in which the caret is positioned. This is done by locating the function occurring immediately before the current caret position. If the caret is outside of a function definition, the previous function will be highlighted. If the function list is configured to show functions for all project files, this behavior is disabled.
While the function list is designed primarily to list function definitions, because of its generic design it can actually be used to list any text string that matches a regular expression pattern. These regular expression patterns are defined as function strings in the wordfile that defines the active file's syntax highlighting. While it is possible to modify these by directly editing the wordfile, it is recommended to make modifications through the Modify groups configuration dialog.
The function list includes the following context menu items:
Sort list | Sorts functions alphabetically. If unchecked, functions are sorted in the order they occur in the file. |
Automatically expand functions | If checked, functions containing subgroups will automatically expand in the function list when you move the caret onto or into them in the editor. |
Collapse all / expand all | These options collapse or expand all functions in the function list to hide or show their subgroups. |
List for all project files | Lists functions for all files in the active project. If unchecked, the functions listed are limited to the active file. |
Copy to clipboard | Copies entire contents of function list to the clipboard. |
Refresh function list | Refreshes function list (you can also press F8). |
Flat list | Toggles display of functions between flat and hierarchical tree-style modes. |
Configuration | Opens Modify groups dialog where you can add, remove, and modify regular expressions used to match functions. |
See also: