The right toolbar is part of the main application window of Code Roar. It contains buttons designed specifically for:
Indenting and un-indenting selections.
Commenting selections.
Zooming in and out.
Special functions such as the ASCII dialog and text enumeration.
The following figure shows the right toolbar in Code Roar:
Accessibility: Docked at the bottom of the main application window.
Component |
Description |
|
Indent/Outdent |
||
Indents the selected text based on the current indent size. The indent size is configured in the Options sub-tab of the File types tab in the Settings dialog.
|
||
Un-indents the selected text based on the current indent size. The indent size is configured in the Options sub-tab of the File types tab in the Settings dialog.
|
||
Indents the selected text by a single space.
|
||
Un-indents the selected text by a single space.
|
||
Indents the selected text with a prefix. The user is prompted to enter the prefix after pressing the button.
|
||
Un-indents the selected text by removing a given prefix. The user is prompted to enter the prefix after pressing the button.
|
||
Comments |
||
Block comment the selection using the format appropriate to the active document. The settings for block comments are located in the Comments sub-tab of the File types tab in the Settings dialog. If no block comment format is configured for the active file type this button does nothing.
|
||
Comment out the selection using on or more single line comments in the format appropriate to the active document. The settings for single line comments are located in the Comments sub-tab of the File types tab in the Settings dialog. If no line comment format is configured for the active file type this button does nothing.
|
||
Un-comment the selection by removing the single line comment marker at the beginning of the selection. Comments that are not at the beginning of the selection block are not removed. The settings for single line comments are located in the Comments sub-tab of the File types tab in the Settings dialog. If no line comment format is configured for the active file type this button does nothing.
|
||
Block comment the selection using the box comment format appropriate to the active document. If no line comment format is configured for the active file type this button does nothing.
|
||
Alignment |
||
Left justifies the active selection. For this feature to work correctly one or more lines must be selected. It does not function on partial line selections. For example, in the diagram below the user is left justifying the selected line and selects the entire line such that the cursor is located at the beginning of the next line:
Pressing the left justify button yields the following result:
|
||
Right justifies the active selection. The right justify uses the Right edge mark for the file type to determine the point where the text is justified. For this feature to work correctly one or more lines must be selected. It does not function on partial line selections. For example, in the diagram below the user is right-justifying the selected line and selects the entire line such that the cursor is located at the beginning of the next line:
Pressing the right justify button right justifies the text against the right edge mark as shown below:
|
||
Centers the active selection. The center text uses the Right edge mark and the start of the line to determine the center point of the text. For this feature to work correctly one or more lines must be selected. It does not function on partial line selections. For example, in the diagram below the user is centering the selected line and selects the entire line such that the cursor is located at the beginning of the next line:
Pressing the center button centers the text between the start of the line and the right edge marker as shown below:
|
||
Text case |
||
Converts the selection to uppercase. |
||
Converts the selection to lowercase. |
||
Special functions |
||
Prompts the user with the Enumerate text dialog allowing for the enumeration of a selection. For more information on using this feature refer to the Enumerating text topic. |
||
Prompts the user with the Insert ASCII dialog allowing the user to insert a particular ASCII character at the current cursor location. |