CRBasic Editor Edit Menu

This menu item allows you to edit and manipulate the text currently being displayed in the Editor. Standard text editing functions such as Cut, Copy, Paste, Delete, Select All, Undo and Redo are found in this menu. Other options include:

  • Create Compressed File – Creates a new file with a _str extension. All user comments and line spacing in the program are removed from the file. Removing comments and spaces can significantly reduce the file size in larger programs.

  • Rebuild Indentation – Reworks the indentation of loops, If/Then/Else statements and other logic nesting, and removes blank lines based on the Vertical Spacing rules (Options > Editor Preferences, Vertical Spacing tab).

  • Save As CRB – Saves highlighted text to a file with a *.CRB extension. This file is referred to as a library file. The file can then be reused by inserting it into another CRBasic program.

  • Insert File – Inserts a library file (*.CRB) into the current program at the location of the cursor.