Editor - hakakou/optiperl GitHub Wiki
Editor Settings
Font
Font name, color and size of the editor. This affects all editor windows in OptiPerl.
Selection
Font color and background color when selecting text.
Fixed width Font
Whether only monospaced (courier like) fonts will be used. What is important with monospace fonts is that column widths are always the same in every line of the editor.
Font smoothing
Whether the windows default for font smoothing will be applied to the editor's font. Leave unselected on slower computers, and enable only on very fast computers, especially if you have "ClearType" font smoothing enabled in Windows XP. This affects dramatically the redrawing speed of the editor.
Bracket Highlighting
Auto highlight brackets
Moving the cursor and typing brackets will automatically highlight the corresponding bracket.
Highlight brackets with mouse
Allow highlighting corresponding brackets when moving the mouse while the Control key is pressed.
Code folding
Code folding enables hiding sections of your script enclosed by brackets, parenthesis, Here-Document and POD statements. Read more about Code Folding.
Tabs
Use tab character
Whether a real tab character will be used when pressing tab and saving. If not used, then spaces will be used for padding. This also affects how indent and outdent block commands pad lines.
Smart tab
When tab is pressed, the cursor is moved to the same column as the next non-whitespace character of the preceding line. This cannot be used at the same time with "use tab character", and if enabled the tab stop column numbers will not be obeyed. For example:
if (1) {
| |
If you were on the second line on column 1, each tab press would go to the | representing the first non-whitespace character of the first line.
Cursor always on tabs
Pressing right and left arrows will move on tabs in the editor.
Tab stops
Selects the columns that the cursor will position onto each time tab is pressed. The difference of the last two numbers is used for calculating tabs if the cursor is on a column after the largest number. Also note that these numbers are not used if "smart tabs" are enabled.
Block indent
Contains the indent that is applied to the text edited when you select Indent/Outdent.
Visualize Tabs
Tab lines are vertical lines denoting the tabs in the whitespace in front of each line of your script. You can select here their appearance. To be visible, you must also have the option "Use tab character" enabled.
Lines
Auto indent mode
Add the indent from the previous line when pressing enter for a new line.
Backspace unindents
Backspace will delete all spaces of an indent.
Whitespace
Controls how whitespace (spaces & tabs) at the ends of lines is handled.
Never trim
: Leaves whitespace as is.
Trim only in non-empty lines
: Trims whitespace only in lines that are not empty (already have visible characters).
Trim always
: Trims whitespace always.