10.02.2013 Views

SlickEdit User Guide

SlickEdit User Guide

SlickEdit User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OPTIONS<br />

o Load entire file - When set to True, the entire contents of opened files are read into memory,<br />

however, the line indicator (located at the bottom right section of the editor) might become<br />

blank if the file does not fit in the editor’s cache (defaults to 2 MB). When False, Auto Reload<br />

does not work until the file is saved. If you are using the edit command to open files, use the<br />

switch +L to specify this option (see Command Line Switches).<br />

o Count number of lines - When set to True, the entire contents of opened files are read into<br />

memory and the number of lines in the file are counted. The line number is always displayed in<br />

the line indicator area of the editor. The Load entire file setting will have the same affect as<br />

this setting when the entire file fits within the cache of the editor (defaults to 2 MB) and does<br />

not have to be spilled. If you are using the edit command to open files, use the switch +LC to<br />

specify this option (see Command Line Switches).<br />

o Truncate file at EOF - When set to True, the entire contents of the opened files are read into<br />

memory and the number of lines are counted. In addition, DOS format files are truncated when<br />

an EOF (End of File) character is found. The line number is always displayed in the line<br />

indicator area of the editor. This option is useful for REXX .cmd files which can have p-code<br />

appended to them after the EOF character. If you are using the edit command to open files,<br />

use the switch +LZ to specify this option (see Command Line Switches).<br />

o Load partially for large files - When set to True, the editor only partially loads files larger<br />

than the size specified in Load partially when files are larger than, in order to conserve<br />

memory. Since the file handle remains open to your file, Auto Reload does not work until the<br />

file is saved. The line indicator might be blank unless the Fast line count on partial load<br />

option is enabled.<br />

o Load partially when files are larger than - Specifies the size limit for files to be opened<br />

completely in the editor. If the size of the file being loaded is greater than this value, only a<br />

portion of the file is read into memory.<br />

• Auto reload - The following options are available:<br />

o Auto reload - When set to True, <strong>SlickEdit</strong> detects when files being edited have been modified<br />

by other applications and prompts to replace the file with the new copy on disk.<br />

o Suppress prompt unless modified - When set to True, files that have been changed on disk<br />

are automatically reloaded unless the file has been modified in <strong>SlickEdit</strong>.<br />

o Auto read only - When set to True, <strong>SlickEdit</strong> detects when other applications change the<br />

read-only attribute of a file, and automatically changes the permissions of the file being edited<br />

to match.<br />

o Fast auto read only - (Windows only) When set to True, this option speeds up the Auto read<br />

only feature by only checking the attribute on disk (not opening every file). This option is<br />

controlled by the configuration variable def_fast_auto_readonly (see Setting/Changing<br />

Configuration Variables).<br />

o Reload on switch buffer - When set to True, <strong>SlickEdit</strong> detects if a file has been modified by<br />

another application when you switch buffers to view the file in the active editor window. When<br />

False, the default check is still performed when you switch from another application.<br />

Save File Options<br />

Save file options are shown below (Tools > Options > File Options > Save).<br />

696 <strong>SlickEdit</strong>® <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!