The Convert Tabs dialog allows the user to convert existing tabs into spaces or the reverse operation. It works on a selection basis. To convert all tabs in the document the user must first select the contents of the entire document and then activate the Convert Tabs dialog using the Convert tabs to spaces or Convert spaces to tabs menu options in the Text menu.
The following figure shows the Convert Tabs dialog:
Accessibility: From the Convert tabs to spaces or Convert spaces to tabs menu options in the Text menu.
Component |
Description |
|
Sets the width or size of the tab in characters that is used when converting spaces to tabs or vice versa. |
||
If a single space is encountered between two characters do not convert it to a tab when performing the conversion from spaces to tabs. This option is only available when converting from spaces to tabs. |
||
Restrict to |
||
Restrict the conversion of tabs or spaces to within the text of the file. If this option is selected then tabs or spaces are not converted within strings or comments. |
||
Restrict the conversion of tabs or spaces to within strings defined in single or double quotes instead of performing the conversion over the contents of the entire file. |
||
Restrict the conversion of tabs or spaces to within comments instead of performing the conversion over the contents of the entire file. |
||
Convert |
||
Convert tabs into spaces. |
||
Convert spaces into tabs. |
||
Do conversion on |
||
Only perform the conversion of tabs or spaces that start at the beginning of the line. |
||
Only perform the conversion of tabs or spaces on the remainder of the line, that is, everything except tabs/spaces at the beginning of the line. |
||
Perform conversion of all tabs/spaces in the line. |
||
Control buttons |
||
When pressed, the conversion process is started on the active document. |
||
Cancels the operation and returns to the application. |