From 201458e3bd2f1d79a0ea0b853552e9df267e92b1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 26 Dec 2016 20:44:10 -0800 Subject: 3713 - cross-link calls with definitions in html --- html/edit/008-sandbox-edit.mu.html | 52 +++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'html/edit/008-sandbox-edit.mu.html') diff --git a/html/edit/008-sandbox-edit.mu.html b/html/edit/008-sandbox-edit.mu.html index 218ea106..1085b8ab 100644 --- a/html/edit/008-sandbox-edit.mu.html +++ b/html/edit/008-sandbox-edit.mu.html @@ -65,12 +65,12 @@ if ('onhashchange' in window) { 7 # empty recipes 8 assume-resources [ 9 ] - 10 env:&:environment <- new-programming-environment resources, screen, [add 2, 2] + 10 env:&:environment <- new-programming-environment resources, screen, [add 2, 2] 11 # run it 12 assume-console [ 13 press F4 14 ] - 15 event-loop screen, console, env, resources + 15 event-loop screen, console, env, resources 16 screen-should-contain [ 17 . run (F4) . 18 . ╎ . @@ -86,7 +86,7 @@ if ('onhashchange' in window) { 28 left-click 3, 55 29 ] 30 run [ - 31 event-loop screen, console, env, resources + 31 event-loop screen, console, env, resources 32 ] 33 # it pops back into editor 34 screen-should-contain [ @@ -100,7 +100,7 @@ if ('onhashchange' in window) { 42 type [0] 43 ] 44 run [ - 45 event-loop screen, console, env, resources + 45 event-loop screen, console, env, resources 46 ] 47 screen-should-contain [ 48 . run (F4) . @@ -117,12 +117,12 @@ if ('onhashchange' in window) { 59 # empty recipes 60 assume-resources [ 61 ] - 62 env:&:environment <- new-programming-environment resources, screen, [add 2, 2] + 62 env:&:environment <- new-programming-environment resources, screen, [add 2, 2] 63 # run it 64 assume-console [ 65 press F4 66 ] - 67 event-loop screen, console, env, resources + 67 event-loop screen, console, env, resources 68 screen-should-contain [ 69 . run (F4) . 70 . ╎ . @@ -138,7 +138,7 @@ if ('onhashchange' in window) { 80 left-click 3, 68 81 ] 82 run [ - 83 event-loop screen, console, env, resources + 83 event-loop screen, console, env, resources 84 ] 85 # it pops back into editor 86 screen-should-contain [ @@ -152,7 +152,7 @@ if ('onhashchange' in window) { 94 type [0] 95 ] 96 run [ - 97 event-loop screen, console, env, resources + 97 event-loop screen, console, env, resources 98 ] 99 screen-should-contain [ 100 . run (F4) . @@ -169,10 +169,10 @@ if ('onhashchange' in window) { 111 break-unless edit? 112 edit?, env <- try-edit-sandbox click-row, env 113 break-unless edit? -114 hide-screen screen -115 screen <- render-sandbox-side screen, env, render -116 screen <- update-cursor screen, recipes, current-sandbox, sandbox-in-focus?, env -117 show-screen screen +114 hide-screen screen +115 screen <- render-sandbox-side screen, env, render +116 screen <- update-cursor screen, recipes, current-sandbox, sandbox-in-focus?, env +117 show-screen screen 118 loop +next-event 119 } 120 ] @@ -223,18 +223,18 @@ if ('onhashchange' in window) { 165 assume-resources [ 166 ] 167 # right editor contains a print instruction -168 env:&:environment <- new-programming-environment resources, screen, [print-integer screen, 4] +168 env:&:environment <- new-programming-environment resources, screen, [print-integer screen, 4] 169 # run the sandbox 170 assume-console [ 171 press F4 172 ] -173 event-loop screen, console, env, resources +173 event-loop screen, console, env, resources 174 screen-should-contain [ 175 . run (F4) . 176 . ╎ . 177 .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────. 178 . ╎0 edit copy delete . -179 . ╎print-integer screen, 4 . +179 . ╎print-integer screen, 4 . 180 . ╎screen: . 181 . ╎ .4 . . 182 . ╎ . . . @@ -249,11 +249,11 @@ if ('onhashchange' in window) { 191 left-click 3, 65 192 ] 193 run [ -194 event-loop screen, console, env, resources +194 event-loop screen, console, env, resources 195 ] 196 screen-should-contain [ 197 . run (F4) . -198 . ╎print-integer screen, 4 . +198 . ╎print-integer screen, 4 . 199 .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────. 200 . ╎ . 201 . ╎ . @@ -267,8 +267,8 @@ if ('onhashchange' in window) { 209 # initialize environment 210 assume-resources [ 211 ] -212 env:&:environment <- new-programming-environment resources, screen, [] -213 render-all screen, env, render +212 env:&:environment <- new-programming-environment resources, screen, [] +213 render-all screen, env, render 214 # create 2 sandboxes and scroll to second 215 assume-console [ 216 press ctrl-n @@ -279,7 +279,7 @@ if ('onhashchange' in window) { 221 press page-down 222 press page-down 223 ] -224 event-loop screen, console, env, resources +224 event-loop screen, console, env, resources 225 screen-should-contain [ 226 . run (F4) . 227 . ╎─────────────────────────────────────────────────. @@ -294,7 +294,7 @@ if ('onhashchange' in window) { 236 left-click 2, 55 237 ] 238 run [ -239 event-loop screen, console, env, resources +239 event-loop screen, console, env, resources 240 ] 241 # second sandbox shows in editor; scroll resets to display first sandbox 242 screen-should-contain [ @@ -316,8 +316,8 @@ if ('onhashchange' in window) { 258 # initialize environment 259 assume-resources [ 260 ] -261 env:&:environment <- new-programming-environment resources, screen, [] -262 render-all screen, env, render +261 env:&:environment <- new-programming-environment resources, screen, [] +262 render-all screen, env, render 263 # create 2 sandboxes 264 assume-console [ 265 press ctrl-n @@ -326,7 +326,7 @@ if ('onhashchange' in window) { 268 type [add 1, 1] 269 press F4 270 ] -271 event-loop screen, console, env, resources +271 event-loop screen, console, env, resources 272 screen-should-contain [ 273 . run (F4) . 274 . ╎ . @@ -345,7 +345,7 @@ if ('onhashchange' in window) { 287 press F4 288 ] 289 run [ -290 event-loop screen, console, env, resources +290 event-loop screen, console, env, resources 291 ] 292 # no change in contents 293 screen-should-contain [ @@ -367,7 +367,7 @@ if ('onhashchange' in window) { 309 press page-down 310 ] 311 run [ -312 event-loop screen, console, env, resources +312 event-loop screen, console, env, resources 313 ] 314 # screen should show just final sandbox with the right index (1) 315 screen-should-contain [ -- cgit 1.4.1-2-gfad0