24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Elements / Attributes by PrefixThe Elements / Attributes by Prefix preferences panel is opened from menu Window > Preferences > <strong>Author</strong> >Editor > Syntax Highlight > Elements / Attributes by Prefix.One row of the table contains the association between a namespace prefix and the properties to mark start tags and endtags, or attribute names in that prefix. Note that the marking mechanism does not look at the namespace bound to thatprefix. If the prefix is bound to different namespaces in different <strong>XML</strong> elements of the same file, all the tags and attributenames with that prefix are marked with the same color.You can edit the following color properties of the selected token:• Foreground color - The Foreground button opens a color dialog that allows setting the color properties for theselected token with one of the following color models: Swatches, HSB, or RGB.Note: You can also open the dialog for changing the foreground color of a token by double-clicking (orpressing Enter) on the tree node that corresponds to that token.• Background color - The Background button opens the same color dialog as the Foreground button.You can choose that only the prefix is displayed with the selected color by enabling the Draw only the prefix with aseparate color option.Open / SaveThe Open / Save preferences panel is opened from menu Window > Preferences > <strong>Author</strong> > Editor > Open / Save.The following options are available:• When text from BIDI Unicode range is detected - Allows you to choose the application behavior when you tryto open a file that contains BIDI Unicode characters. You can choose between Enable bidirectional editing mode,Disable bidirectional editing mode and Prompt for each document.• Safe save (only for local files) - Option that provides an increased degree of protection in the unlikely event of afailure of the Save action. This mechanism creates a temporary file that holds the edited content until it is safelysaved in the original file. If the Save action fails, the temporary file is kept in the system temporary folder,<strong>Oxygen</strong><strong>XML</strong>Temp subfolder.• Save all files before transformation or validation - Saves all open files before validating or transforming an <strong>XML</strong>document. This way the dependencies are resolved, for example when modifying both the <strong>XML</strong> document and its<strong>XML</strong> Schema.• Clear undo buffer on save - If enabled, <strong>Oxygen</strong> <strong>XML</strong> erases its undo stack when you save a document. Onlymodifications made after you have saved the document can be undone. Check this option if you encounter frequentout of memory problems (OutOfMemoryError) when editing very large documents.TemplatesThis panel groups the preferences that are related with code templates and document templates:• Code Templates• Document TemplatesCode TemplatesCode templates are small document fragments that can be inserted quickly at the editing position and can be reused inother editing sessions. <strong>Oxygen</strong> <strong>XML</strong> comes with a large set of ready-to use templates for XSL, XQuery, and <strong>XML</strong>Schema. You can even share your code templates with your colleagues using the template export and import functions.To obtain the template list, use:Configuring the Application | 399• The shortcut key that activates content completion assistant on request: (Ctrl+Space) on Windows and Linux,(Cmd+Space) on Mac OS X. It displays the code templates names in the content completion assistant list togetherwith proposed element names.• The shortcut key that activates code templates assistant on request: (Ctrl+Shift+Space) on Windows and Linux,(Cmd+Shift+Space) on Mac OS X. It displays only the code templates in the proposals list.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!