Select from the following sub-menu items:
Each window is titled
n (where n is the numerical index of the new editor window or GUIBuilder file) until saved with another name.
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.
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.
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.
Select this option to open a new IDL Project. The Open dialog appears. Select the project you want to open and click Open.
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.
Select this option to save the current IDL Project to a specified filename. The Save As dialog appears.
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.
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.
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.) On Windows, when the File ® Save As... option is selected, the default file name is the name of the last procedure or function in the file. On UNIX, the default file name is *
.pro. For portability between platforms, the filename will be all lowercase letters.
Select this option to reload the last saved version of the document.
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.
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.
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.
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.
Select this option to open recently opened project files.
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.
Select this option to exit IDL.