The undo feature

Much effort has been made to provide for the ability to recover from mistakes that have been made inadvertently, while using stedi. For example, it is possible that you may delete some lines and then realize that you would like to have them again. For this purpose, stedi generally monitors deletions by writing them away to a special buffer so that they will be available in case they are needed. Thus in many cases, if no other action has been taken after a deletion the part of text deleted is recoverable. This chapter is a summary of stedi's undo features.

The <Undo> (on keyboards that have no undo key this is generally F11) key provides the possibility to undo deletions which are made with the basic delete operations for deleting characters, words, lines, or when a buffer is cleared. To undo cut and paste operations, paste and cut operations themselves are used. These will be explained in what follows.

No undo capability is provided for search and replace operations because stedi would have to save almost the whole file in order to be able to undo such complicated changes. If you would like to make substantial changes with the search and replace command, you may like to save a backup copy of the file first before proceeding. Alternatively you can use the veto option in the search and replace command to guard against errors which are difficult to undo.



Subsections