Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

File Menu


New

Select from the following sub-menu items:

Each window is titled Untitledn or UntitledPrcn (where n is the numerical index of the new editor window or GUIBuilder file) until saved with another name.

Open... [Ctrl+O]

Select this option to open a text file for editing. (On Microsoft Windows platforms, you can also select an IDL GUIBuilder *.prc portable resource file.) The Open dialog appears. Select the file you want to open or type the file name and click Open (Windows) or OK (Motif). You can select a continuous range of files by holding down the Shift key after selecting the first file, or select multiple separated files by selecting each file while holding down the Control key. A new IDL Editor window is created to contain each text file.

Note
On Motif platforms, if the Multiple Windows option is selected, a new IDL Editor window is created outside the main window to contain each text file. Layout Preferences for details.

You can also open text files from the Command Input Line. To open text files, enter the following at the IDL prompt:

.EDIT file1 [file2 ... filen] 

where file is the name of the text file you want to open. If the path is not specified in the Path Preferences from the File menu, you must enter the full path for file. See .EDIT for more information.

Close

Select this option to close the currently-selected IDL Editor window. If you have made changes in an IDL Editor window, you are asked if you want to save the changes before closing the window.

Open Project...

Select this option to open a new IDL Project. The Open dialog appears. Select the project you want to open and click Open.

Save Project

Select this option to save the current IDL Project. If the Project has not yet been saved, you are prompted for a filename with the Save As dialog.

Save Project As...

Select this option to save the current IDL Project to a specified filename. The Save As dialog appears.

Close Project

Select this option to close the current IDL Project. If you have made changes in to the project, you are asked if you want to save the changes before closing the window.

Save [Ctrl+S]

Select this option to save the contents of an IDL Editor window. If the file has not yet been saved, you are prompted for a filename with the Save As dialog.

Note
Changes made to a previously-compiled routine are not available to IDL until that routine is re-compiled. Executing the routine without first saving and re-compiling simply re-runs the previously-compiled version, without incorporating recent changes.
Select the Compile option in the Run menu to return to the main program level and re-compile the routine. Select Compile from Memory in the Run menu to save and compile recent changes to a temporary file.

Save As...

Select this option to save the contents of an IDL Editor window to a specified filename. The Save As dialog appears. (On Motif platforms, you can select this option with the keyboard shortcut Ctrl+W.)

Revert to Saved

Select this option to reload the last saved version of the document.

Warning
Unsaved changes are lost without warning.

Generate .pro (Microsoft Windows Only)

On a Microsoft Windows system, select this option to generate source code files from GUIBuilder interface definitions. When you generate code for the first time, all options open the Save As dialog so that you can select a location and specify a filename. The following are generated:

For information about the IDL GUIBuilder generated code, see Generating Files.

Print... [Ctrl+P]

On Microsoft Windows systems, select this option to print the contents of the currently-selected window to the default printer immediately. On Motif systems, the Print dialog appears.

Select Numbered Lines to include line numbers in the printout. Select Wrapped Lines to cause lines longer than the width of the printed page to wrap to a new line. Select Two Pages to print two pages per sheet of paper (each logical page is printed at half normal size). Select Header to include file information at the top of each page.

Print Setup...

Select this option to change the printer and printing options. The Print (Windows) or Printer Setup (Motif) dialog appears. For further information on setting up a printer, see Printing in IDL.

Recent Files

Select this option to open recently opened or created files. This menu item lists the last ten opened or created files. (On Microsoft Windows systems, it includes both text and GUIBuilder files.) To open a file on this list, select it.

On Motif systems, to change the maximum number of files displayed from ten to another number, modify the idlde.numRecentFiles resource in your .idlde resource file. See Customizing IDL on Motif Systems, for details.

Recent Projects

Select this option to open recently opened project files.

Preferences...

Select this option to display the tabbed Preferences dialog, which allows you to customize your interaction with the IDLDE environment. The options available via the Preferences dialog are described in detail in Setting IDL Preferences.

Exit [Ctrl+Q]

Select this option to exit IDL.


Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]