Source Menu

This menu provides commands that simplify manipulating source code text.

Toggle Comment

This command inserts (or removes) a comment character from the beginning of a line (or lines) of code. In effect, it turns a line of code into a comment (or the reverse).

Format

This command does simple code formatting. It adjusts indentation and formatting of IDL reserved words and routine names. The IDL formatting preferences are set on the Preferences dialog, on the Preferences  IDL  Formatter page. Refer to Formatter for an explanation of these preferences.

Shift Right

This command moves the selected text lines one tab stop to the right. The tab stop is controlled through the Displayed tab width preference, which is located on the Preferences  IDL  Editor page of the Preferences dialog.

Shift Left

This command moves the selected text lines one tab stop to the left. The tab stop is controlled through the Displayed tab width preference, which is located on the Preferences  IDL  Editor page of the Preferences dialog.

To Uppercase

This command converts the selected text to uppercase characters.

To Lowercase

This command converts the selected text to lowercase characters.