Open/Save

The Open/Save preferences panel is opened from menu OptionsPreferences+Editor+Open/Save

 

Figure 20.27. The Open/Save preferences panel

The Open/Save preferences panel

Format document when long lines exceeds

Specifies the default behavior when the longest line of a document exceeds the specified limit. This option doesn't apply on read-only documents when the Can edit read only files option is disabled. You can choose between:

  • Always format

  • Never format

  • Always ask

Characters limit for bidirectional text documents

Specify the characters limit for bidirectional text documents. If the number of characters in document exceeds this limit, the bidirectional support will be disabled.

Make backup copy on save

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.

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. If checked it enables Automatic Save. When unchecked, Automatic Save is disabled.

Automatic save interval (minutes)

Selects the period in minutes for Auto Save intervals.

Save all files before transformation or validation

Save 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 will be 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 size. This optimization comes with a few restrictions on memory intensive operations.

Show warning when loading large documents

If checked, a warning about the restrictions on editing very large files is displayed for every open operation on a very large file.

Clear undo buffer on save

If checked, the undo action has no effect after you've saved your document. You can only undo the modifications made after you've saved it.

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/> application by adding two lines in this descriptor file:

<key>apple.awt.use-file-dialog-packages</key>
<string>false</string>