| 1 |
# This is just a test file for joverc processing |
| 2 |
# not to be installed or considered an example. |
| 3 |
# numbers ending in 0 are the expected path, so |
| 4 |
# if this works, Main should have lines with |
| 5 |
# 10, 20, 30, ... 100 followed by a line with 200 300 |
| 6 |
define-macro testbegin ^[xselect-buffer^M*testlog*^[xend-of-file^M^M++^[xnewline^M |
| 7 |
define-macro testend --^[xnewline^M^[xmake-buffer-unmodified^M |
| 8 |
execute-macro testbegin |
| 9 |
if true |
| 10 |
set right-margin 10 |
| 11 |
else |
| 12 |
set right-margin 11 |
| 13 |
endif |
| 14 |
insert-variable right-margin |
| 15 |
newline |
| 16 |
# |
| 17 |
if false |
| 18 |
set right-margin 21 |
| 19 |
else |
| 20 |
set right-margin 20 |
| 21 |
endif |
| 22 |
insert-variable right-margin |
| 23 |
newline |
| 24 |
# |
| 25 |
if true |
| 26 |
if true |
| 27 |
set right-margin 30 |
| 28 |
else |
| 29 |
set right-margin 31 |
| 30 |
endif |
| 31 |
else |
| 32 |
if true |
| 33 |
set right-margin 32 |
| 34 |
else |
| 35 |
set right-margin 33 |
| 36 |
endif |
| 37 |
endif |
| 38 |
insert-variable right-margin |
| 39 |
newline |
| 40 |
# |
| 41 |
if false |
| 42 |
if true |
| 43 |
set right-margin 41 |
| 44 |
else |
| 45 |
set right-margin 42 |
| 46 |
endif |
| 47 |
else |
| 48 |
if true |
| 49 |
set right-margin 40 |
| 50 |
else |
| 51 |
set right-margin 43 |
| 52 |
endif |
| 53 |
endif |
| 54 |
insert-variable right-margin |
| 55 |
newline |
| 56 |
# |
| 57 |
if true |
| 58 |
if true |
| 59 |
set right-margin 50 |
| 60 |
else |
| 61 |
set right-margin 51 |
| 62 |
endif |
| 63 |
endif |
| 64 |
insert-variable right-margin |
| 65 |
newline |
| 66 |
# |
| 67 |
if true |
| 68 |
if false |
| 69 |
set right-margin 61 |
| 70 |
else |
| 71 |
set right-margin 60 |
| 72 |
endif |
| 73 |
endif |
| 74 |
insert-variable right-margin |
| 75 |
newline |
| 76 |
# |
| 77 |
if false |
| 78 |
else |
| 79 |
if true |
| 80 |
set right-margin 70 |
| 81 |
else |
| 82 |
set right-margin 71 |
| 83 |
endif |
| 84 |
endif |
| 85 |
insert-variable right-margin |
| 86 |
newline |
| 87 |
# |
| 88 |
if false |
| 89 |
else |
| 90 |
if false |
| 91 |
set right-margin 81 |
| 92 |
else |
| 93 |
set right-margin 80 |
| 94 |
endif |
| 95 |
endif |
| 96 |
insert-variable right-margin |
| 97 |
newline |
| 98 |
source doc/test1.rc |
| 99 |
# |
| 100 |
execute-macro testend |