Changes between Version 3 and Version 4 of PRO_CHANGE_MANAGER_R0
- Timestamp:
- 01/07/09 18:43:44 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PRO_CHANGE_MANAGER_R0
v3 v4 20 20 * undo/redo should be possible to be skipped and unskipped. 21 21 * skip/unskip should be possible to be undone and redone. 22 22 * Provide unit tests for at least 5 scenarios. 23 23 24 24 == Task result == 25 * review of current source code. 26 * more source code. 27 * unit tests 25 28 26 29 == Implementation idea == 30 * review current code. 31 * add the new features. 32 * write unit tests. 33 '''Example scenarios - every number represents a change and its position in the list:''' 34 {{{ 35 skip: 36 1. a = 5 | 5 37 2. a = 6 | 6 38 3. a = 7 | 7 39 4. skip 2 | 7 because a new change has occurred after 2. 27 40 41 skip/undo: 42 1. b = 10 | 10 43 2. b = 5 | 5 44 3. skip 2 | 10 is the last change that is to be undone. 45 4. undo | 5 because the skip is undone. 46 5. skip 4 | 10 because the last undo is skipped as a change. 47 48 more complicated: 49 1. c = 5 | 5 50 2. c = 7 | 7 51 3. c = 10 | 10 52 4. c = 12 | 12 53 5. undo | 10 this is the current value of c 54 6. skip 3 | 7 55 56 }}} 28 57 == Related == 29 58