|
IDL Reference Guide: IDL Preferences |
|
The preferences in this section are specific to versions of IDL that support the Motif interactive development environment (IDLDE) interface to the IDL system. They do not exist in the Microsoft Windows version of IDL.
If the IDL_MDE_EDIT_BACKUP preference is set to True (1), the IDLDE editor creates a backup of the original file before saving a file in an editor window.
Committed changes take effect immediately. The default value is True (1).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Backup on Save under Editor Preferences. |
The IDL_MDE_EDIT_COMPILE_OPTION preference determines how the IDLDE editor handles requests to compile modified code contained within an editor window. It can handle such requests by asking whether you want to save your changes first, automatically save any changes before compiling, or compile from memory without saving the changes.
Committed changes take effect immediately. The default value is AsktoSave (0).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Compiling Section under Editor Preferences. |
When you open a file in the IDLDE editor, the IDL_MDE_EDIT_CWD preference determines whether the current working directory for the IDL process is changed to the directory containing the opened file.
Committed changes take effect immediately. The default value is False (0).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Files Section under General Preferences. |
If the IDL_MDE_EDIT_READONLY preference is set to True (1), files opened by the IDLDE editor are opened in read-only mode and cannot be modified.
Committed changes take effect immediately. The default value is False (0).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Files Section under General Preferences. |
If the IDL_MDE_EXIT_CONFIRM preference is set, the IDLDE displays a warning dialog when you exit IDL.
Committed changes take effect immediately. The default value is True (1).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Program Section under General Preferences. |
The IDL_MDE_LOG_LINES preference controls the maximum number of lines to display in the output log window. It must be set to a value greater than or equal to 1.
Committed changes take effect in future IDL sessions. The default value is 1000.
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Log and Command Window Section under General Preferences. |
The IDL_MDE_LOG_TRIM preference controls the number of lines that are deleted from the top of the output log when the maximum number of lines, specified by IDL_MDE_LOG_LINES, is reached. It must be set to a value greater than or equal to 1.
Committed changes take effect in future IDL sessions. The default value is 250.
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Log and Command Window Section under General Preferences. |
If the IDL_MDE_SPLASHSCREEN preference is set, the IDLDE displays the IDL splash screen on startup.
Committed changes take effect in future IDL sessions. The default value is True (1).
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Program Section under General Preferences. |
The IDL_MDE_START_DIR preference, if not set to a null string (''), specifies the initial working directory to be established when the IDLDE starts. Typically, UNIX users want their IDL initial working directory to be inherited from the working directory of the shell from which they start it. However, this preference can be useful in environments where the IDLDE is started by clicking on a desktop icon. In such an environment, the initial working directory might not be a location that is of interest to IDL users.
Committed changes take effect immediately. The default value is a null string ('').
| Note You can set this preference in the IDLDE's Preferences dialog. For more information, see Working Directory under Startup Preferences. |
IDL Online Help (March 06, 2007)