Mercurial > projects > dwt-addons
comparison dwtx/text/undo/DocumentUndoEvent.d @ 147:000f9136b8f7
final
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:35:05 +0200 |
parents | c4fb132a086c |
children | 7926b636c282 |
comparison
equal
deleted
inserted
replaced
146:75302ef3f92f | 147:000f9136b8f7 |
---|---|
42 | 42 |
43 /** | 43 /** |
44 * Indicates that the described document event is about to be | 44 * Indicates that the described document event is about to be |
45 * undone. | 45 * undone. |
46 */ | 46 */ |
47 public static final int ABOUT_TO_UNDO= 1 << 0; | 47 public static const int ABOUT_TO_UNDO= 1 << 0; |
48 | 48 |
49 /** | 49 /** |
50 * Indicates that the described document event is about to be | 50 * Indicates that the described document event is about to be |
51 * redone. | 51 * redone. |
52 */ | 52 */ |
53 public static final int ABOUT_TO_REDO= 1 << 1; | 53 public static const int ABOUT_TO_REDO= 1 << 1; |
54 | 54 |
55 /** | 55 /** |
56 * Indicates that the described document event has been undone. | 56 * Indicates that the described document event has been undone. |
57 */ | 57 */ |
58 public static final int UNDONE= 1 << 2; | 58 public static const int UNDONE= 1 << 2; |
59 | 59 |
60 /** | 60 /** |
61 * Indicates that the described document event has been redone. | 61 * Indicates that the described document event has been redone. |
62 */ | 62 */ |
63 public static final int REDONE= 1 << 3; | 63 public static const int REDONE= 1 << 3; |
64 | 64 |
65 /** | 65 /** |
66 * Indicates that the described document event is a compound undo | 66 * Indicates that the described document event is a compound undo |
67 * or redo event. | 67 * or redo event. |
68 */ | 68 */ |
69 public static final int COMPOUND= 1 << 4; | 69 public static const int COMPOUND= 1 << 4; |
70 | 70 |
71 /** The changed document. */ | 71 /** The changed document. */ |
72 private IDocument fDocument; | 72 private IDocument fDocument; |
73 | 73 |
74 /** The document offset where the change begins. */ | 74 /** The document offset where the change begins. */ |