1 /* e_undo.h 2 * 3 * Copyright (c) 1994-1996, Marko Macek 4 * 5 * You may distribute under the terms of either the GNU General Public 6 * License or the Artistic License, as specified in the README file. 7 * 8 */ 9 10 #ifndef E_UNDO_H 11 #define E_UNDO_H 12 13 /* 14 * only core operations can be directly undone 15 * - Insert # of Lines 16 * - Delete # of Lines 17 * - Insert # Line 18 * - Delete Line Text 19 * - Insert Line Text 20 * - Positioning 21 * - Block marking 22 */ 23 24 enum UndoCommands { 25 ucInsLine, 26 ucDelLine, 27 ucInsChars, 28 ucDelChars, 29 30 ucJoinLine, 31 ucSplitLine, 32 33 ucPosition, 34 ucBlock, 35 ucModified, 36 37 ucFoldCreate, 38 ucFoldDestroy, 39 ucFoldPromote, 40 ucFoldDemote, 41 ucFoldOpen, 42 ucFoldClose, 43 44 ucPlaceUserBookmark, 45 ucRemoveUserBookmark 46 }; 47 48 #endif // E_UNDO_H 49