diff options
Diffstat (limited to 'html/edit/007-sandbox-delete.mu.html')
-rw-r--r-- | html/edit/007-sandbox-delete.mu.html | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/html/edit/007-sandbox-delete.mu.html b/html/edit/007-sandbox-delete.mu.html index b023c314..a51492f8 100644 --- a/html/edit/007-sandbox-delete.mu.html +++ b/html/edit/007-sandbox-delete.mu.html @@ -68,8 +68,8 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span> assume-screen <span class="Constant">100/width</span>, <span class="Constant">15/height</span> <span id="L7" class="LineNr"> 7 </span> assume-resources [ <span id="L8" class="LineNr"> 8 </span> ] -<span id="L9" class="LineNr"> 9 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span> -<span id="L10" class="LineNr"> 10 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L9" class="LineNr"> 9 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span> +<span id="L10" class="LineNr"> 10 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L11" class="LineNr"> 11 </span> <span class="Comment"># run a few commands</span> <span id="L12" class="LineNr"> 12 </span> assume-console [ <span id="L13" class="LineNr"> 13 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 1</span>,<span class="Constant"> 75</span> @@ -78,7 +78,7 @@ if ('onhashchange' in window) { <span id="L16" class="LineNr"> 16 </span> <span class="Conceal">¦</span> type <span class="Constant">[add 2, 2]</span> <span id="L17" class="LineNr"> 17 </span> <span class="Conceal">¦</span> press F4 <span id="L18" class="LineNr"> 18 </span> ] -<span id="L19" class="LineNr"> 19 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L19" class="LineNr"> 19 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L20" class="LineNr"> 20 </span> screen-should-contain [ <span id="L21" class="LineNr"> 21 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L22" class="LineNr"> 22 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> @@ -99,7 +99,7 @@ if ('onhashchange' in window) { <span id="L37" class="LineNr"> 37 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 7</span>,<span class="Constant"> 90</span> <span id="L38" class="LineNr"> 38 </span> ] <span id="L39" class="LineNr"> 39 </span> run [ -<span id="L40" class="LineNr"> 40 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L40" class="LineNr"> 40 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L41" class="LineNr"> 41 </span> ] <span id="L42" class="LineNr"> 42 </span> screen-should-contain [ <span id="L43" class="LineNr"> 43 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> @@ -117,7 +117,7 @@ if ('onhashchange' in window) { <span id="L55" class="LineNr"> 55 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 99</span> <span id="L56" class="LineNr"> 56 </span> ] <span id="L57" class="LineNr"> 57 </span> run [ -<span id="L58" class="LineNr"> 58 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L58" class="LineNr"> 58 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L59" class="LineNr"> 59 </span> ] <span id="L60" class="LineNr"> 60 </span> screen-should-contain [ <span id="L61" class="LineNr"> 61 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> @@ -135,8 +135,8 @@ if ('onhashchange' in window) { <span id="L73" class="LineNr"> 73 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> delete? <span id="L74" class="LineNr"> 74 </span> <span class="Conceal">¦</span> delete?, env <span class="Special"><-</span> <a href='007-sandbox-delete.mu.html#L98'>try-delete-sandbox</a> click-row, env <span id="L75" class="LineNr"> 75 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> delete? -<span id="L76" class="LineNr"> 76 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> render-sandbox-side <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> -<span id="L77" class="LineNr"> 77 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L469'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env +<span id="L76" class="LineNr"> 76 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> render-sandbox-side <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L77" class="LineNr"> 77 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L472'>update-cursor</a> <a href='../081print.mu.html#L16'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env <span id="L78" class="LineNr"> 78 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span> <span id="L79" class="LineNr"> 79 </span> <span class="Delimiter">}</span> <span id="L80" class="LineNr"> 80 </span>] @@ -153,7 +153,7 @@ if ('onhashchange' in window) { <span id="L91" class="LineNr"> 91 </span> assert first-sandbox, <span class="Constant">[!!]</span> <span id="L92" class="LineNr"> 92 </span> sandbox-left-margin:num <span class="Special"><-</span> get *first-sandbox, <span class="Constant">left:offset</span> <span id="L93" class="LineNr"> 93 </span> sandbox-right-margin:num <span class="Special"><-</span> get *first-sandbox, <span class="Constant">right:offset</span> -<span id="L94" class="LineNr"> 94 </span> _, _, _, _, _, _, delete-button-left:num <span class="Special"><-</span> <a href='005-sandbox.mu.html#L346'>sandbox-menu-columns</a> sandbox-left-margin, sandbox-right-margin +<span id="L94" class="LineNr"> 94 </span> _, _, _, _, _, _, delete-button-left:num <span class="Special"><-</span> <a href='005-sandbox.mu.html#L373'>sandbox-menu-columns</a> sandbox-left-margin, sandbox-right-margin <span id="L95" class="LineNr"> 95 </span> result <span class="Special"><-</span> <a href='006-sandbox-copy.mu.html#L211'>within-range?</a> click-column, delete-button-left, sandbox-right-margin <span id="L96" class="LineNr"> 96 </span>] <span id="L97" class="LineNr"> 97 </span> @@ -216,8 +216,8 @@ if ('onhashchange' in window) { <span id="L154" class="LineNr">154 </span> <span class="Comment"># initialize environment</span> <span id="L155" class="LineNr">155 </span> assume-resources [ <span id="L156" class="LineNr">156 </span> ] -<span id="L157" class="LineNr">157 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span> -<span id="L158" class="LineNr">158 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L157" class="LineNr">157 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span> +<span id="L158" class="LineNr">158 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L159" class="LineNr">159 </span> <span class="Comment"># create 2 sandboxes and scroll to second</span> <span id="L160" class="LineNr">160 </span> assume-console [ <span id="L161" class="LineNr">161 </span> <span class="Conceal">¦</span> press ctrl-n @@ -225,9 +225,9 @@ if ('onhashchange' in window) { <span id="L163" class="LineNr">163 </span> <span class="Conceal">¦</span> press F4 <span id="L164" class="LineNr">164 </span> <span class="Conceal">¦</span> type <span class="Constant">[add 1, 1]</span> <span id="L165" class="LineNr">165 </span> <span class="Conceal">¦</span> press F4 -<span id="L166" class="LineNr">166 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> +<span id="L166" class="LineNr">166 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> <span id="L167" class="LineNr">167 </span> ] -<span id="L168" class="LineNr">168 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L168" class="LineNr">168 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L169" class="LineNr">169 </span> screen-should-contain [ <span id="L170" class="LineNr">170 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L171" class="LineNr">171 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -242,7 +242,7 @@ if ('onhashchange' in window) { <span id="L180" class="LineNr">180 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 6</span>,<span class="Constant"> 99</span> <span id="L181" class="LineNr">181 </span> ] <span id="L182" class="LineNr">182 </span> run [ -<span id="L183" class="LineNr">183 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L183" class="LineNr">183 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L184" class="LineNr">184 </span> ] <span id="L185" class="LineNr">185 </span> <span class="Comment"># second sandbox shows in editor; scroll resets to display first sandbox</span> <span id="L186" class="LineNr">186 </span> screen-should-contain [ @@ -263,8 +263,8 @@ if ('onhashchange' in window) { <span id="L201" class="LineNr">201 </span> <span class="Comment"># initialize environment</span> <span id="L202" class="LineNr">202 </span> assume-resources [ <span id="L203" class="LineNr">203 </span> ] -<span id="L204" class="LineNr">204 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span> -<span id="L205" class="LineNr">205 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L204" class="LineNr">204 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span> +<span id="L205" class="LineNr">205 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L206" class="LineNr">206 </span> <span class="Comment"># create 2 sandboxes and scroll to second</span> <span id="L207" class="LineNr">207 </span> assume-console [ <span id="L208" class="LineNr">208 </span> <span class="Conceal">¦</span> press ctrl-n @@ -272,9 +272,9 @@ if ('onhashchange' in window) { <span id="L210" class="LineNr">210 </span> <span class="Conceal">¦</span> press F4 <span id="L211" class="LineNr">211 </span> <span class="Conceal">¦</span> type <span class="Constant">[add 1, 1]</span> <span id="L212" class="LineNr">212 </span> <span class="Conceal">¦</span> press F4 -<span id="L213" class="LineNr">213 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> +<span id="L213" class="LineNr">213 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> <span id="L214" class="LineNr">214 </span> ] -<span id="L215" class="LineNr">215 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L215" class="LineNr">215 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L216" class="LineNr">216 </span> screen-should-contain [ <span id="L217" class="LineNr">217 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L218" class="LineNr">218 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -289,7 +289,7 @@ if ('onhashchange' in window) { <span id="L227" class="LineNr">227 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 2</span>,<span class="Constant"> 99</span> <span id="L228" class="LineNr">228 </span> ] <span id="L229" class="LineNr">229 </span> run [ -<span id="L230" class="LineNr">230 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L230" class="LineNr">230 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L231" class="LineNr">231 </span> ] <span id="L232" class="LineNr">232 </span> <span class="Comment"># second sandbox shows in editor; scroll resets to display first sandbox</span> <span id="L233" class="LineNr">233 </span> screen-should-contain [ @@ -310,8 +310,8 @@ if ('onhashchange' in window) { <span id="L248" class="LineNr">248 </span> <span class="Comment"># initialize environment</span> <span id="L249" class="LineNr">249 </span> assume-resources [ <span id="L250" class="LineNr">250 </span> ] -<span id="L251" class="LineNr">251 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span> -<span id="L252" class="LineNr">252 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L251" class="LineNr">251 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span> +<span id="L252" class="LineNr">252 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L253" class="LineNr">253 </span> <span class="Comment"># create 2 sandboxes and scroll to second</span> <span id="L254" class="LineNr">254 </span> assume-console [ <span id="L255" class="LineNr">255 </span> <span class="Conceal">¦</span> press ctrl-n @@ -319,10 +319,10 @@ if ('onhashchange' in window) { <span id="L257" class="LineNr">257 </span> <span class="Conceal">¦</span> press F4 <span id="L258" class="LineNr">258 </span> <span class="Conceal">¦</span> type <span class="Constant">[add 1, 1]</span> <span id="L259" class="LineNr">259 </span> <span class="Conceal">¦</span> press F4 -<span id="L260" class="LineNr">260 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> -<span id="L261" class="LineNr">261 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> +<span id="L260" class="LineNr">260 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> +<span id="L261" class="LineNr">261 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> <span id="L262" class="LineNr">262 </span> ] -<span id="L263" class="LineNr">263 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L263" class="LineNr">263 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L264" class="LineNr">264 </span> screen-should-contain [ <span id="L265" class="LineNr">265 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L266" class="LineNr">266 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -337,7 +337,7 @@ if ('onhashchange' in window) { <span id="L275" class="LineNr">275 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 2</span>,<span class="Constant"> 99</span> <span id="L276" class="LineNr">276 </span> ] <span id="L277" class="LineNr">277 </span> run [ -<span id="L278" class="LineNr">278 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L278" class="LineNr">278 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L279" class="LineNr">279 </span> ] <span id="L280" class="LineNr">280 </span> <span class="Comment"># implicitly scroll up to first sandbox</span> <span id="L281" class="LineNr">281 </span> screen-should-contain [ @@ -359,8 +359,8 @@ if ('onhashchange' in window) { <span id="L297" class="LineNr">297 </span> <span class="Comment"># initialize environment</span> <span id="L298" class="LineNr">298 </span> assume-resources [ <span id="L299" class="LineNr">299 </span> ] -<span id="L300" class="LineNr">300 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L4'>screen</a>, <span class="Constant">[]</span> -<span id="L301" class="LineNr">301 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> +<span id="L300" class="LineNr">300 </span> env:&:environment <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L21'>new-programming-environment</a> <a href='../088file.mu.html#L11'>resources</a>, <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[]</span> +<span id="L301" class="LineNr">301 </span> <a href='004-programming-environment.mu.html#L402'>render-all</a> <a href='../081print.mu.html#L16'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L302" class="LineNr">302 </span> <span class="Comment"># create 2 sandboxes</span> <span id="L303" class="LineNr">303 </span> assume-console [ <span id="L304" class="LineNr">304 </span> <span class="Conceal">¦</span> press ctrl-n @@ -369,7 +369,7 @@ if ('onhashchange' in window) { <span id="L307" class="LineNr">307 </span> <span class="Conceal">¦</span> type <span class="Constant">[add 1, 1]</span> <span id="L308" class="LineNr">308 </span> <span class="Conceal">¦</span> press F4 <span id="L309" class="LineNr">309 </span> ] -<span id="L310" class="LineNr">310 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L310" class="LineNr">310 </span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L311" class="LineNr">311 </span> screen-should-contain [ <span id="L312" class="LineNr">312 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L313" class="LineNr">313 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> @@ -385,11 +385,11 @@ if ('onhashchange' in window) { <span id="L323" class="LineNr">323 </span> <span class="Comment"># delete the second sandbox, then try to scroll down twice</span> <span id="L324" class="LineNr">324 </span> assume-console [ <span id="L325" class="LineNr">325 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 99</span> -<span id="L326" class="LineNr">326 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> -<span id="L327" class="LineNr">327 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3500'>page-down</a> +<span id="L326" class="LineNr">326 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> +<span id="L327" class="LineNr">327 </span> <span class="Conceal">¦</span> press <a href='003-shortcuts.mu.html#L3541'>page-down</a> <span id="L328" class="LineNr">328 </span> ] <span id="L329" class="LineNr">329 </span> run [ -<span id="L330" class="LineNr">330 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L4'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> +<span id="L330" class="LineNr">330 </span> <span class="Conceal">¦</span> <a href='004-programming-environment.mu.html#L39'>event-loop</a> <a href='../081print.mu.html#L16'>screen</a>, <a href='../084console.mu.html#L23'>console</a>, env, <a href='../088file.mu.html#L11'>resources</a> <span id="L331" class="LineNr">331 </span> ] <span id="L332" class="LineNr">332 </span> <span class="Comment"># shouldn't go past last sandbox</span> <span id="L333" class="LineNr">333 </span> screen-should-contain [ |