Options - General - Editor General

Specify the editor for which you want to set options. Options take effect as soon as you click OK.

To display the Options dialog box, select Tools > Options from the Stylus Studio menu bar.



Click the down arrow to determine whether you are specifying options for the Java, XML, or XSLT editor.

Newline format

Allows you to choose the newline format for documents you open in Stylus Studio:

Show line numbers

Displays line numbers at the beginning of every line in the editor display.

Line wrap

Stylus Studio automatically wraps lines whose length exceeds 16k characters. You can turn off this option by selecting Disabled from the Line wrap drop-down list. You can override this option for individual documents by selecting Edit > Wrap Lines from the Stylus Studio menu, or by clicking the wrap lines button on the tool bar ( ).

Enable spell checking

Whether or not you want the Spell Checker enabled for this editor. This option is off by default. The Spell Checker can be run manually from the menu (Tools > Check Spelling), regardless of how the Enable spell checking option is set.

Word delimiters

Characters you want the Stylus Studio editor to recognize as word delimiters.

Indenter Settings

Preserve trailing/leading whitespace

When checked, this indicates that Stylus Studio preserves (does not trim) white space that is at the beginning or end of a text node.

Preserve newlines between elements

When checked, this indicates that Stylus Studio preserves (does not remove) new line characters that are in white space.

Wrap attributes if they exceed column

Instructs Stylus Studio to display the attribute on a new line if it starts after the specified column. The default column is 256.

Tab Settings

Keep Tabs

Whether you want to keep the tabs in a document or replace tabs with the number of spaces indicated in the Tab Size field.

Insert Spaces

Whether you want to use spaces instead of tabs. (The number of spaces is specified using the Tab Size field.)

Tab Size

Indicates the number of spaces in a tab.

Do not add "Created with Stylus Studio" comment at the end of a document

Check this box if you want the comment at the end of documents created with the selected editor.

For More Information

Specifying Stylus Studio Options

Using the Spell Checker

Text Editing Features

Free Stylus Studio XML Training: