SET PENDING DELETE Enables erasing a selection when you use DELETE or type new text. This is useful for quickly erasing or replacing a block of text. Steps: 1. Use SET PENDING DELETE. 2. Select the text to erase (see help on SELECT or BOX SELECT). 3. Type new text (for example, press the space bar) or use DELETE (for example, press the <X] key). Usage notes: o Default is SET NOPENDING DELETE---typing new text or using DELETE works the same whether there is a selection or not. o To put back the text you erased with a pending delete operation, use RESTORE SELECTION or RESTORE BOX SELECTION. You may want to define GOLD-DELETE or some other key as RESTORE SELECTION, to make it easier to put back the text. o Pending delete uses the $RESTORE$SELECTION$ buffer. Thus, you can use pending delete and RESTORE SELECTION for cutting and pasting text without affecting the contents of the INSERT HERE buffer or the clipboard. o SET PENDING DELETE applies in all buffers. To save your setting for future editing sessions, use SAVE ATTRIBUTES to create a section file or to create or update a command file. See help on Attributes. o SELECT ALL (or M1CLICK5) temporarily disables pending delete to prevent your accidentally erasing the entire buffer. o On DECwindows, you can toggle the setting as follows: 1. Choose Global Attributes from the Customize menu. 2. Click M1 on Set Pending Delete in the dialog box. Related topics: Attributes Pending Delete Ranges And Boxes RESTORE BOX SELECTION RESTORE SELECTION SET NOPENDING DELETE