Convert Tabs Dialog

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.

 

Description of Components

Component

Description

Tab size

Sets the width or size of the tab in characters that is used when converting spaces to tabs or vice versa.

Skip single spaces

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

Text

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.

Strings

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.

Comments

Restrict the conversion of tabs or spaces to within comments instead of performing the conversion over the contents of the entire file.

Convert

Tabs to spaces

Convert tabs into spaces.

Spaces to tabs

Convert spaces into tabs.

Do conversion on

Start of line

Only perform the conversion of tabs or spaces that start at the beginning of the line.

Remainder of 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.

All of line

Perform conversion of all tabs/spaces in the line.

Control buttons

Ok Button

When pressed, the conversion process is started on the active document.

Cancel Button

Cancels the operation and returns to the application.