Bram Moolenaar | c1c023e | 2013-11-07 03:26:06 +0100 | [diff] [blame] | 1 | ONE: expecting global undolevels: 5, local undolevels: -123456 (default) |
| 2 | 1 |
| 3 | 2 |
| 4 | 3 |
| 5 | 4 |
| 6 | 5 |
| 7 | 6 |
| 8 | 7 |
| 9 | |
| 10 | |
| 11 | undolevels=5 global |
| 12 | undolevels=-123456 local |
| 13 | TWO: expecting global undolevels: 5, local undolevels: 2 (first) then 10 (afterwards) |
| 14 | 1 |
| 15 | 2 |
| 16 | 3 |
| 17 | 4 |
| 18 | 5 |
| 19 | 6 |
| 20 | 7 |
| 21 | 8 |
| 22 | 9 |
| 23 | 10 |
| 24 | |
| 25 | |
| 26 | undolevels=5 global |
| 27 | undolevels=2 local |
| 28 | |
| 29 | undolevels=5 global |
| 30 | undolevels=10 local |
| 31 | |
| 32 | global value shouldn't be changed and still be 5! |
| 33 | ONE: expecting global undolevels: 5, local undolevels: -123456 (default) |
| 34 | undolevels=5 global |
| 35 | undolevels=-123456 local |
| 36 | |
| 37 | global value should be changed to 50 |
| 38 | THREE: expecting global undolevels: 50, local undolevels: -123456 (default) |
| 39 | |
| 40 | undolevels=50 global |
| 41 | undolevels=-123456 local |