Orion/Documentation/User Guide/Reference/Coding page
Navigate to the Coding page by clicking any file in the Navigator page that has a corresponding Orion editor. This page is comprised mainly of an editor area, and a collapsible navigator / code outline section on the left hand side. Error markers are shown in the gutter to the left of the line numbers, as underline squiggles in the text, and a birds-eye view of errors is shown next to the scroll bar on the right. The name of the file being edited, and the current line and column information are shown in the title area at the top of the page. Editor fonts and colors can be customized from the Settings page.
You can navigate into hyperlinks in the editor by holding down the Ctrl key (Cmd on Mac).
The editor supports many of the typical key bindings from the Eclipse editor. To find out what key bindings are available select Options > Keyboard Shortcuts or type Alt+Shift+? (or Ctrl+Shift+? on Mac OS X).
The editor has a default set of keybindings that are listed below. As part of the 3.0 release, an initial set of keybindings have been added for vi and emacs. These can be accessed through either the local editor settings combo or from the editor settings page.
Type in an appropriate value for the variable, and hit Tab key to move to the next variable. When you are finished, exit linked mode by hitting Enter.
The Outline pane to the left of the editor shows the structure of the file you are editing. Click entries in the outline to jump to the corresponding location in the editor. When not in use, you can collapse the Outline pane using Ctrl+O.
There are several ways to perform searches in the editor (some key bindings may be different on Mac OS):
- Ctrl+F will open a dialog to search for occurrences of some text in the current editor
- Ctrl+J will perform an incremental search as you type. A message in the title area will let you know you are in incremental find mode, and will turn red to indicate no matches were found.
- Ctrl+H will search for occurrences of the currently selected text across all files. The search results will pop up in a new window, from which you can navigate to files containing the matches
- Typing search terms in the search box in the upper right corner of the title area will search for the terms across all files, and display matches in the Search Results page. From there you can further filter and sort the results, and initiate a replace operation across multiple files.
- Ctrl+Shift+F will open the Find File dialog, where you can search for a file or bookmarked favorite by name, using simple wildcards.