File | Edit | View | Templates | Windows | Compiler | Run | C/C++ | Help
The edit menu gives the user standard editing capabilities, plus a few extra options.
Undo - This option will undo the last editing change made to the CSD window, whether it is deleting a single character or cutting a large section of code. Undoing an undo has no effect.
Cut - Removes the highlighted text from the CSD window and places it on the clipboard.
Copy - Places a duplicate of the highlighted text on the clipboard.
Paste - Places a copy of the most recent item on the clipboard in the CSD window at the current cursor location.
Search/Replace - Opens a Search/Replace dialog.
Search Forward - When this button is pressed, GRASP will take the text that has been placed in the Search For text box and scan through the file, starting at the current cursor location, looking for the next instance of that text string.
Search Backward - Similar to search forward, except this ibegins at the current cursor location and moves backward through the file.
Replace - Searches forward through the file looking for the next instance of the text in the Search For text box, and places that text with the text string in the Replace With text box.
Replace All - Similar to replace, except that all instances of the contents of Search For are replaced with the contents of Replace With.
Replace then Search Forward - This inserts the contents of the Replace With text box at the current cursor location, and then proceeds to the next instance of the contents of the Search For text box. Note that successively pressing Replace then Search Forward will replace, one at a time, each instance of the Search For with the contents of Replace With.
Identifiers Only - When this button is selected, the search and replace functions will attempt to match whole words (i.e., those strings bounded by white space) with the contents of the Search For box, rather than searching for all substrings.
Goto Line - Moves the cursor to the begining ofo the chosen line number.
Insert File - This option raises a file selection dialog from which the user may choose a text file to insert in the CSD window at the current cursor location.