Documentation Center

Edit menu

The Edit menu provides the normal operations on editing macros and modules.

Undo

or CTRL+Z or CTRL+BACKSPACE reverses the last editing action, such as typing text in the Code window.

Redo

or CTRL+Y restores the last text editing if no other actions have occurred since the last Undo.

Cut

or CTRL+X or SHIFT+DELETE removes the selected text and places it on the Clipboard. You must select at least one character for this command to be available. You can undo the Cut command.

Copy

or CTRL+C or Ctrl+INSERT copies the selected text onto the Clipboard. You must select at least one character for this command to be available. You cannot undo the Copy command in the Code window.

Paste

or CTRL+V or Shift+INSERT inserts the contents of the Clipboard at the current location. Text is placed at the insertion point. You can undo the Paste command in the Code window.

Delete

Deletes the currently selected text, or expression in the Watch window or Immediate window. You can undo the Delete command in all windows. This function can also be invoked with the keystroke DEL.

Select All

Selects all of the code in the active Code window.

Indent

Shifts all lines in the selection to the next tab stop. If you place the cursor anywhere in a line and choose the Indent command, only the text a the cursor position is shifted to the next tab stop. All lines in the selection are moved the same number of spaces to retain the same relative indentation within the selected block. This function can also be invoked with the keystroke TAB.

You can change the tab width with the Tab Width function in the View menu.

Outdent

Shifts all lines in the selection to the previous tab stop. If you place the cursor anywhere in a line and choose the Outdent command, the text at the cursor position is shifted to the next tab stop. All lines in the selection are moved the same number of spaces to retain the same relative indentation within the selected block. This function can also be invoked with the keystroke SHIFT+TAB.

You can change the tab width with the Tab Width function in the View menu.

Tab As Spaces

If this option is checked, spaces instead of a tab character will be inserted into the code, when pressing the TAB key.

Find...

Searches for the specified text in the Code window specified in the Find dialog box. This function can also be invoked with the keystroke CTRL+F.

If a search is successful, the Find dialog box closes and Sax Basic selects the located text. If no match is found, Sax Basic displays a message stating that the text was not found.

Direction

Sets the direction of the search to Down or Up from the location of the cursor.

Match case

Finds all occurrences with the exact combination of uppercase and lowercase letters specified in the Find what box.

Find Next

Finds and selects the next occurrence of the text specified in the Find What box.

Cancel

Closes the dialog box without performing the search.

Replace...

Searches code in the project for the specified text and replaces it with the new text specified in the Replace dialog box. This function can also be invoked with the keystroke CTRL+R.

Find what

Type or insert the information you want to find. If any text is selected or the cursor is on a word when you choose the command, this text is displayed in the Find what box.

Replace with

Type the text you want to use as the replacement text or paste it from the Clipboard. To delete the text in the Find what box from the document, leave the Replace with box empty.

Match case

Finds all occurrences with the exact combination of uppercase and lowercase letters specified in the Find what box.

Find Next

Finds and selects the next occurrence of the text specified in the Find what box.

Replace

Confirms before replacing the search text with the replacement text.

Replace All

Replaces all occurrences of the search text with the replacement text without stopping for confirmation.

Cancel

Closes the dialog box without replacing text.

Again

Finds and selects or replaces the next occurrence of the text specified in the Find What/Replace What box of the Find/Replace dialog box. This function can also be invoked with the keystroke F3.

Complete Word

This function is used to complete the word that is being typed, when enough letters are entered to make it unique or when the appropriate word is selected from the list. This function can also be invoked with the keystroke CTRL+SPACE.

Parameter Info

Shows a popup in the Code window that contains information about the parameters of the initial function or statement. If you have a function or statement that contains functions as its parameters, choosing Parameter Info provides information about the first function. The Quick Info provides information about each embedded function. This function can also be invoked with the keystroke CTRL+I.

As you type a parameter it is bold until you type the comma used to delineate it from the next parameter. The Parameter Info, once activated, will not close until:

  • All of the required parameters are entered.
  • The function is ended without using all of the optional parameters.
  • You press ESC.

UserDialog...

calls the user dialog editor and allows you to create a new form and add it to your macro. (see chapter User Dialog Editor).

References

Displays the References dialog box. (see chapter Project References). This dialog box allows you to add an object library or type library reference to your project. This makes another application's objects available in your code. Once a reference is set, the referenced objects are displayed in the Object Browser. Only available at design time.

Properties

edits the properties of object modules and class modules, when these module windows are the active sheets.