Oxygen XML Editor lets you control how files are opened and saved. To configure the
Open / Save options, open the
Preferences dialog box and go to .
Open
The following options apply to opening files:
- Lock local resources - When
this option is enabled 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 cannot be
modified by other users while the lock exists. However, other users are offered the
possibility to edit the file, but without overwriting it. If they decide to continue, they
will be asked to save the changes in a different file or drop them. Newly created files
are locked when you first save them. If you enable this option with files
already opened in Oxygen XML Editor, it will lock all the currently
opened files. If you disable this option with files already opened, it will unlock them by
deleting the corresponding .lock files.
- Support for Special
Characters section - 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
- Disable support for special characters
- Prompt for each document
- Disable
bidirectional text support for documents larger than (Characters) - Enabling
bidirectional text editing support can affect performance on large files. When this option
is selected, bidirectional editing is disabled for files exceeding the specified size,
even if the Enable support for special characters option is
selected.
Save
The following options apply to saving files:
- Safe save (only for local
files) - In the unlikely event of a failure of the
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.
- Make backup copy on save (only for local
files) - If selected, 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.
- Enable automatic save - When
selected, your documents are saved automatically, after a preset time interval.
- Automatic save interval
(minutes) - Selects the interval, in minutes, for the automatic save
action.
- 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 transformation or validation - Saves all
open files before validating or transforming an XML document. This ensures that any
dependencies are resolved when modifying the XML document and its XML Schema.
- Save all files before calling external
tools - If selected, all files are saved before executing an external
tool.
Performance
The following options cover performance issues when dealing with large files:
- Optimize loading in the Text edit mode for
files over (MB) - File loading is optimized for reduced memory usage for any
file with a size larger than this value. This is useful for editing large files, but it
comes with several
restrictions on 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 turned on for a document that
contains lines that exceed the specified length. For a list of the restrictions applied to
a document with long lines, see the Editing Documents with Long Lines
section.
- 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. Therefore, 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 - This option is available only on the Mac OS X
platform. When selected, the file browser dialog allows browsing inside an application
bundle, as in a regular folder. Otherwise, the file browser dialog does not allow browsing
inside an application bundle, as the Finder application does on Mac OS X.
Note: The same
effect can be obtained by setting the property
apple.awt.use-file-dialog-packages to
true or
false in the
Info.plist descriptor file of the
Oxygen XML Editor application:
<key>apple.awt.use-file-dialog-packages</key>
<string>false</string>