Open/Save Preferences
Oxygen XML Editor lets you control how files are opened and saved. To configure the options for opening and saving documents, open the Preferences dialog box and go to .
The following options are available:
- Open section
-
- Lock local resources
- When this option is selected and you open a file from the local file system or
a shared network drive, Oxygen XML Editor locks the file for the current
user and the file becomes read-only for other users while the lock exists.
Locked and read-only files have a lock icon () displayed on their editor tabs. Newly
created files are locked when you first save them. If you select
this option with files already opened in Oxygen XML Editor, it will
lock all the currently opened files. If you deselect this option
with files already opened, it will unlock them by deleting the corresponding
.lock
files. When you try to save locked (read-only) files, a Save As dialog box will be displayed to avoid overwriting the initial resource.
- Support for Special Characters section
-
- When bidirectional text, Asian languages, or other special characters are detected
- You can choose how you want Oxygen XML Editor to handle bidirectional
text, Asian languages, or other special characters when they are detected. You
can choose one of the following:
- Enable support for special characters - The support for special characters will always be enabled.
- Disable support for special characters - The support for special characters will always be disabled.
- Prompt for each document - You will be prompted to choose whether or not to enable the support for special characters whenever they are detected in a newly opened document.
- Disable special characters support for documents larger than (characters)
- Enabling bidirectional text editing support can affect performance on large files. When this option is enabled, bidirectional editing is disabled for files exceeding the specified size, even if the Enable support for special characters option is selected.
- Save section
-
- Safe save (only for local files)
- In the unlikely event of a failure when attempting a Save action, this option provides increased protection from corruption of the original file. When this option is enabled, it saves the content to a temporary file and if the save is unsuccessful, the editor preserves its unsaved state status.
- On Save, make backup copy with extension (only for local files)
- If enabled, a backup copy is made when saving the edited document. This option
is available only for local files (files that are stored on the local file
system). The default backup file extension is
.bak
, but that can be changed in the text field. - Automatically save the document every
- If enabled, your documents are automatically saved after a preset time interval that is specified in the drop-down list.
- Save all files before transformation or validation
- Saves all opened files before validating or transforming an XML document. This ensures that any dependencies are resolved when modifying the XML document and its XML Schema.
- Check errors on save
- If enabled, Oxygen XML Editor runs a validation that checks your document for errors before saving it.
- Save all files before calling external tools
- If enabled, all files are saved before executing an external tool.
- Performance section
-
- Optimize loading in the Text edit mode for files over (MB)
- File loading is optimized for reduced memory usage for any file whose size is
larger than the value specified in this drop-down list. This is useful for
editing large files, but there are several
restrictions for memory-intensive operations.
- Show warning when loading large documents
- Oxygen XML Editor will warn you if you open a file that is bigger than the specified size.
- Optimize loading for documents with lines longer than (Characters)
- Line wrap is automatically performed for documents that contain
lines that exceed the length specified in this text field. For a list of the
restrictions applied to a document with long lines, see Editing
Documents with Long Lines.
- Show warning when loading documents with long lines
- When selected, Oxygen XML Editorwill warn you when you open a file with lines longer than the specified length. To reduce the length of lines in a file, format and indent the document after it is opened in the editor panel. For a list of the restrictions applied to a document with long lines, see Editing Documents with Long Lines.
- Clear undo buffer on save
- If selected, Oxygen XML Editor clears its undo buffer when you save a document. Thus, modifications made prior to saving the document cannot be undone. Select this option if you frequently encounter out of memory errors when editing large documents.
- Consider application bundles to be directories when browsing (OS X only)
- This option is available only on the Mac OS X platform. When selected, the
file browser dialog box allows you to browse inside an application bundle, as in
a regular folder. Otherwise, it is not allowed (the same as the Finder
application on Mac OS X).
Note
The same effect can be obtained by setting the apple.awt.use-file-dialog-packages property to true or false in theInfo.plist
descriptor file of the Oxygen XML Editor application:<key>apple.awt.use-file-dialog-packages</key> <string>false</string>