Fossil SCM

Replaced hacky invisible box hacks in delta_format.wiki doc with more idiomatic PIC code.

wyoung 2020-09-30 00:30 trunk
Commit f345f7bc23ddd76508ee3fda61f846859a073fbe82f1c32e726d2b164fc87a8a
1 file changed +8 -6
--- www/delta_format.wiki
+++ www/delta_format.wiki
@@ -119,25 +119,27 @@
119119
leftmargin = 0.1
120120
PART1: [
121121
B1: box height 50% width 15% ""
122122
B2: box same ""
123123
B3: box same ""
124
- move 0.1 ; box same invisible "***" ; move 0.1
124
+ "***"
125125
box height 50% width 15% ""
126126
I1: line down 50% from B2 .s
127127
arrow right until even with B3.e
128128
box "Insert Literal" height 50%
129129
line down 75% from I1 .s
130130
arrow right until even with B3.e
131131
box "Copy Range" height 50%
132132
]
133133
down
134
- box invisible "" height 0.1
135
- box "Length" height 50% with .nw at (PART1.w, previous.s)
136
- right
137
- box "\":\"" same
138
- box "Bytes" same
134
+ PART2: [
135
+ ""
136
+ box "Length" height 50%
137
+ right
138
+ box "\":\"" same
139
+ box "Bytes" same
140
+ ] with .nw at previous.sw
139141
</verbatim>
140142
141143
<p>The segment-list of a delta describes how to create the target from
142144
the original by a combination of inserting literal byte-sequences and
143145
copying ranges of bytes from the original. This is where the
144146
--- www/delta_format.wiki
+++ www/delta_format.wiki
@@ -119,25 +119,27 @@
119 leftmargin = 0.1
120 PART1: [
121 B1: box height 50% width 15% ""
122 B2: box same ""
123 B3: box same ""
124 move 0.1 ; box same invisible "***" ; move 0.1
125 box height 50% width 15% ""
126 I1: line down 50% from B2 .s
127 arrow right until even with B3.e
128 box "Insert Literal" height 50%
129 line down 75% from I1 .s
130 arrow right until even with B3.e
131 box "Copy Range" height 50%
132 ]
133 down
134 box invisible "" height 0.1
135 box "Length" height 50% with .nw at (PART1.w, previous.s)
136 right
137 box "\":\"" same
138 box "Bytes" same
 
 
139 </verbatim>
140
141 <p>The segment-list of a delta describes how to create the target from
142 the original by a combination of inserting literal byte-sequences and
143 copying ranges of bytes from the original. This is where the
144
--- www/delta_format.wiki
+++ www/delta_format.wiki
@@ -119,25 +119,27 @@
119 leftmargin = 0.1
120 PART1: [
121 B1: box height 50% width 15% ""
122 B2: box same ""
123 B3: box same ""
124 "***"
125 box height 50% width 15% ""
126 I1: line down 50% from B2 .s
127 arrow right until even with B3.e
128 box "Insert Literal" height 50%
129 line down 75% from I1 .s
130 arrow right until even with B3.e
131 box "Copy Range" height 50%
132 ]
133 down
134 PART2: [
135 ""
136 box "Length" height 50%
137 right
138 box "\":\"" same
139 box "Bytes" same
140 ] with .nw at previous.sw
141 </verbatim>
142
143 <p>The segment-list of a delta describes how to create the target from
144 the original by a combination of inserting literal byte-sequences and
145 copying ranges of bytes from the original. This is where the
146

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button