The Open / Save preferences panel is opened from menu Options
> Preferences
> Editor
> Open / Save.
The Open / Save Preferences Panel
The preferences related with opening and saving documents are the following:
Format document when
longest line exceeds - Specifies the default behavior when the longest line of
a document exceeds the specified limit. This option does not
apply on read-only documents when the Can edit read only files option is disabled. You
can choose between:
Always format - Runs the action Format and
Indent on a document with very long lines when opening it without
notification for the user.
Never format - Never modifies a document with very long lines
on opening it.
Always ask - Asks the user if he wants to run the action
Format and Indent on every open of a document with very long
lines.
Characters limit for bidirectional text
documents - Specifies the characters limit for bidirectional text documents.
If the total number of characters found in a document exceeds this limit, the bidirectional
support is disabled.
Make backup copy on save (only for local
files) - If checked, a backup copy is made when saving the edited document.
The default extension is .bak, but you can change extension as you
prefer. The option of making a backup copy on save is available only for local files (files
that are stored on the local file system).
Enable automatic save - Automatic save is a
useful feature that ensures your work is being saved in the background. You can specify the
time intervals between automatic saves.
Automatic save interval (minutes) - Selects
the interval in minutes between two automatic save actions.
Save all files before
transformation or validation - Saves all opened files before validating or
transforming an XML document. In this way the dependencies are resolved, for example when
modifying both the XML document and its XML Schema.
Check errors on save - If checked, a
checking for errors is done when saving the edited document.
Save all files before calling external
tools - If checked, all files are saved before executing an external
tool.
Optimize loading in the Text page for files over
(MB) - File loading is optimized for reduced memory usage for any file with a
size larger than this value. This optimization is useful for being able to load and edit
very large files (hundreds of MB) and it comes with a
few restrictions on memory-intensive operations.
Show warning when loading large documents -
A warning dialog is displayed when you try to load a very large file.
Optimize loading for documents with lines longer than
(Characters) - Line wrap is turned on for a document containing lines that
exceed the length specified with this option. For a list of the restrictions applied to a
document with long lines please see the Editing
Documents with Long Lines section.
Show warning when loading documents with long
lines - If checked, a warning dialog is displayed when you try to open a file
that contains at least one line that exceeds the maximum line length specified in the
previous option. The warning dialog informs you that line wrapping is turned on and some of
the editing features are disabled. Another option is to 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 please see the
section about formatting documents with long lines.
Clear undo buffer on save - If checked, you cannot undo anymore editing actions that preceded the save operation. Only modifications made after you have saved the document can be undone. Check this option if you encounter frequent out of memory problems when performing modifications on very large documents.
Consider application bundles to be
directories when browsing - This option is available only on the Mac OS X
platform. When checked the file browser dialog allows browsing inside an application bundle
as in a regular folder. When unchecked the file browser dialog does not allow browsing
inside an application bundle, as the Finder application does on Mac OS X. 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 Author
application
by adding two lines in this descriptor file: