Download XML Editor 10.3 User Manual for Eclipse

Transcript
Configuring the application
ences created by the pretty print operation when working with a versioning
system, like CVS for example.
Indent with tabs
When checked enables 'Indent with tabs' to set the indent to a tab unit. When
unchecked, 'Indent with tabs' is disabled and the indent will measure as many
spaces as needed in order to go to the next tab stop position. The maximum
number of space characters is defined by the 'Indent size' option.
Indent size
Sets the number of spaces or the tab size that will equal a single indent. The
Indent can be spaces or a tab, select the preference using the Indent With Tabs
option. If set to 4 one tab will equal 4 white spaces or 1 tab with size of 4 characters depending on which option was set in the Indent With Tabs option.
Hard line wrap
This feature saves time when writing a reach text XML document. You can set
a limit for the length of the lines in your document. When this limit is exceeded
the editor will insert a new line before the word that breaks the limit, and indent
the next line. This will minimize the need of reformatting the document.
Indent on Enter
If checked, it indents the new line introduced when pressing Enter.
Enable Smart Enter
If checked, it inserts a new indented line between start and end tag.
Detect line width on open
If checked, it detects the line width automatically when the document is opened.
Format and indent the document on
open
When checked, the Format and indent the document on open operation will
format and indent the document before opening it in the editor panel.
Line width - Format and Indent
Defines the point at which the "Format and Indent" (Pretty-Print) function will
perform hard line wrapping. So if set to 100 Pretty-Print will wrap lines at the
100th space inclusive of white spaces, tags and elements.
Clear undo buffer before Format and If checked, the undo buffer is cleared. The undo action can now only undo the
Indent
Format and Indent action
XML
The XML Format preferences panel is opened from menu Window → Preferences → oXygen+Editor+Format+XML
508