Editing files - hakakou/optiperl GitHub Wiki
The main editor of OptiPerl is a sophisticated and highly customizable editor. Here is a list of some of the features of the editor:
- [Syntax highlighting]] for both perl, html and other languages. The colors may be customized in the [Options Dialog. You can also have up to 5 set of colors that can be quickly selected from the Edit menu / Text styles.
- Templates that are invoked with CTRL-J.
- Bookmarks, accessed by right clicking on the editor or using the shortcuts Ctrl-Shift-0..9 to set and Ctrl-0..9 to navigate to. Bookmarks are also added in the "Bookmark" node in Code Explorer. To navigate between bookmarks placed in different files, use Ctrl-Alt-0..9.
- A standard Find / Replace or enhanced with regular expressions.
- Version Converter.
- Right clicking and dragging on the gutter selects entire lines.
- Commenting and indenting code.
- Holding down Control and moving the mouse cursor on a bracket character [{(<>)}] will show it's counterpart in the editor.
- Holding down Control and clicking the mouse on a declaration will search for it and open it in the editor.
- Hovering the mouse over a declaration will show a hint with information about it. If debugging at the same time, the expression will also be evaluated and the result show.
- Right clicking accesses a menu where you can control bookmarks, search a word in perl documentation, open the To-Do list. You can also edit this menu.
- Left-clicking on the gutter will add or remove a breakpoint. Read more in Debugging.
- Pressing F1 on a key word will bring up perl's core and module documentation.
- Box & Line coding.
- Code Folding.
- Code completion invoked by pressing Ctrl-Shift-Alt. It's output, whether it will be a hint window or pop-up box depends on where the cursor is when invoked.