Tabs, HTML, Text Editor, Options Dialog Box

Select Tabs under Text Editor, HTML in the Options dialog box to adjust tab settings for the HTML view markup editor. You can choose to have all new lines begin at the far left margin, or choose to let the editor automatically enter enough tabs to start the new line directly underneath the point where the previous line began.

Note   These settings supplement the options on the pages listed under HTML Designer. You can access the Options dialog box from the Tools menu.

Indenting

None

When this option is selected, no tabs are added at the beginning of a new line.

Block

When this option is selected, tabs are added at the beginning of a new line within the opening and closing tags of an HTML element or <SCRIPT> </SCRIPT> block. These tabs place the point where the new line begins directly underneath the point where the previous line began.

Smart

When this option is selected, the number of tabs automatically inserted at the beginning of a new line is adjusted according to the context. When you press RETURN after an opening brace ( { ), for example, the next line is automatically indented to the next tab stop. When you press RETURN after a closing brace ( } ), the closing brace is realigned with the opening brace. When the Smart option is not selected, you must edit tabs manually to change indenting.

Tabs

Tab size

Sets the distance between tab stops. The default is four spaces.

Indent size

Sets the distance in spaces that text is automatically indented. The default is four spaces.

Insert spaces

When this option is selected, the Tab key inserts space characters (ASCII 32) instead of the tab character (ASCII 9). This can be useful if you use external editors which set their tab stops at different intervals.

Keep tabs

When this option is selected, the Tab key inserts the tab character (ASCII 9).