File types:  options tab

The Options tab contains a list of general settings for the active file type including the ability to:

 

 

The following figure displays the Options tab:

 

       

       

Accessibility:  From the File Types tab in the Settings Dialog

 

Description of Components

Component

Description

Chroma coloring

The Chroma coloring checkbox determines whether or not color will be used to structurally highlight the file. Chroma coding is based on the lexer configured for the file type.

Right edge mark

Allows the user to control the display of the edge mark shown below in purple. The right edge mark provides a convenient reminder to the designer to keep lines below a given character length in an environment where this is desired.

        

Caret

Controls the color and width of the caret character.

Indent settings

Auto indent

Automatically indent the next line when the <enter> key is pressed to advance to the next line.

Indent after blank line

Normally after a blank line the next line is not auto-indented. Enable this feature to allow auto-indenting after blank lines.

Show indent guides

Turn on indent guides. Refer to the Indent Guides topic for more information.

Backspace moves by indent size

If this option is enabled, pressing the <backspace> key after a series of spaces will automatically remove the same number of spaces as the indent size. This behavior emulates the <tab> key.

Tab moves by indent size

If this option is enabled the indent size will be used instead of the normal tab width when pressing the tab key.

Force indent size to match tab size

Forces the indent width to match the size of tab.

Indent size

Width of the indent in spaces.

Word wrap

Word wrap

Enables wrapping of words to a new line when it extends beyond the visible document.

Starting marker

Places a marker at the beginning of wrapped lines.

Ending marker

Places a marker at the end of wrapped lines.

Indent wrapped lines

Indents the wrapped portion of wrapped lines.

Tab settings

Size

Controls the width of the tab character or the number of spaces that are substituted in place of the tab character.

Mode

This option allows the user to control the function of the <tab> key. If tab is selected then a tab character will be inserted. Otherwise the number of spaces specified by the above Size will be substituted for the tab character.

Default type

Default type

This checkbox indicates whether or not the current language selected is the default type. The settings for the default type will be used when highlighting a file with an un-recognized extension in Code Roar.