File Options Dialog

File locking - When selected, this option ensures that a file handle is kept open to the file for locking purposes. This detects when another user is editing the same file. If you are using the load command to open files, use the switch +N to specify this option.

Reinsert after current - (Not available in SlickEdit Core.) When selected, the editor will switch back to the previous buffer or window with the prev_buffer or prev_window command. If you are using the load command to open files, use the switch +BP to specify this option.

Unmodified block spilling - When selected, unmodified blocks are spilled when the memory/buffer cache is full. When the spill file destination is faster than the disk the file resides on (such as a floppy drive), select this option for optimal performance. If you are using the load command to open files, use the switch +S to specify this option.

Wrap line length - When selected, this option improves editing performance on large files with very long lines, by wrapping the long lines at the number of characters specified here. This option is particu- larly useful for editing very large, single-line XML files.

Use undo, Max undo steps - When Use undo is selected, modifications to buffers may be undone. The Max undo steps box specifies the maximum number of steps that are stored. Cursor motion can be undone but is not counted as a step. If you are using the load command to open files, use the switch +U to specify this option. For example, +U:32000 turns on undo and specifies a 32000-step max).

Save/Restore file pos, Max files - When Save/Restore file pos is selected, when you open a file, the cursor position is restored to its previous location when the file was closed. The Max files box specifies the maximum number of cursor positions saved. The most recently closed file positions are stored.

Encoding - Unicode support required. Specifies the global (non-extension specific) file encoding. This setting is overridden if an extension-specific encoding is defined. Both the extension-specific and global setting are overridden if you specify an encoding in the Open dialog. SlickEdit® Core records the en- coding used to override default encoding settings and reuses this setting the next time you open the same file. This provides you with per-file encoding support. Encoding is also supported for Microsoft project files (vcproj, csproj, vbproj) that are XML files but that default to active code page encod- ing and not UTF-8, like XML. See Encoding for more information.

Save Tab

The Save tab, shown below, contains options that affect how files are saved.

To access save options, click Window Preferences, expand SlickEdit and click General in the tree, then double-click the File Options setting. On the File Options dialog, select the Save tab.

Figure 10.42. File Options: Save Tab

424

Page 446
Image 446
Slick V3.3 manual File Options Save Tab