Programming With Castalia : IDE Changes : Editor Changes : Navigation Toolbar
Previous  Top  Next

Castalia adds a navigation toolbar to the Delphi editor window:

navtoolbar

From left to right, the navigation toolbar contains the following controls:

Used Units List: The dropdown menu attached to this button displays a list of all units used by the current unit. Choosing a unit from this menu will open the unit. Units are displayed in declaration order. A small icon borlandb is placed next to the name of each unit that is part of the Borland supplied RTL or VCL.

Unit Sections List: The dropdown menu attached to this button displays a list of sections of the unit. These sections can include Top of File, Interface Section, Interface Uses Clause, Implementation Section, Implementation Uses Clause, Initialization Section, and End of File. Choosing one of these items will move beginning of the selected section onto the screen and place the cursor at the beginning of the section.

Class Combobox: This combobox is populated with the names of all of the classes that are declared in the current unit. Choose one of these classes to move the cursor to the declaration of that class.

Method Combobox: This combobox is popluates with the names of all procedures and functions in the current unit. Choose one of these items to move the cursor to the implementation of the procedure of function.

Comments on comboboxes: The class and method comboboxes can be navigated with the keyboard, using the up and down arrow keys followed by pressing "Enter" in place of a mouse click. You can also type the name of the item you wish to view directly into the combobox, and the combobox will assist you in finding what you're looking for. In the method combobox, if the method you wish to view is a method of the current class (as displayed in the class combobox), you need only type the method name. The class name will be automatically inserted for you.  
 
Push a Bookmark: This button pushes a bookmark onto the bookmark stack at the location of the cursor.

Pop a Bookmark: This button pops a bookmark off of the bookmark stack, moving the cursor to the location of the bookmark. The attached dropdown menu shows the location and depth of each bookmark. Selecting a bookmark from the menu will pop all bookmarks up to the selected bookmark, moving the cursor to the selected bookmark location.

Move Back one Bookmark: Moves back one bookmark without popping the bookmark off the stack.

Move Forward one Bookmark: Moves forward one bookmark without popping the bookmark off the stack.

See also: Configuring Navigation Toolbar, Bookmark Stack