about summary refs log tree commit diff stats
path: root/html/edit/007-sandbox-delete.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2018-01-27 00:28:51 -0800
committerKartik K. Agaram <vc@akkartik.com>2018-01-27 00:28:51 -0800
commitb301e0c0e6b54dceecbe4ee1ef8f610411015c30 (patch)
treed40803d412718221d7c92fd50c189563877b8301 /html/edit/007-sandbox-delete.mu.html
parent805d58c6aeeeba3e4989c0eed6781b3861e8fae0 (diff)
downloadmu-b301e0c0e6b54dceecbe4ee1ef8f610411015c30.tar.gz
4200
Forgot to set up exuberant_ctags_rc as .ctags on new laptop.
Diffstat (limited to 'html/edit/007-sandbox-delete.mu.html')
-rw-r--r--html/edit/007-sandbox-delete.mu.html80
1 files changed, 40 insertions, 40 deletions
diff --git a/html/edit/007-sandbox-delete.mu.html b/html/edit/007-sandbox-delete.mu.html
index 0033ec49..e50089d2 100644
--- a/html/edit/007-sandbox-delete.mu.html
+++ b/html/edit/007-sandbox-delete.mu.html
@@ -67,8 +67,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:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L10" class="LineNr"> 10 </span>  render-all screen, env, render
+<span id="L9" class="LineNr">  9 </span>  env:&amp;:environment <span class="Special">&lt;-</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>    left-click<span class="Constant"> 1</span>,<span class="Constant"> 75</span>
@@ -77,7 +77,7 @@ if ('onhashchange' in window) {
 <span id="L16" class="LineNr"> 16 </span>    type <span class="Constant">[add 2, 2]</span>
 <span id="L17" class="LineNr"> 17 </span>    press F4
 <span id="L18" class="LineNr"> 18 </span>  ]
-<span id="L19" class="LineNr"> 19 </span>  event-loop screen, console, env, resources
+<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="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L22" class="LineNr"> 22 </span>   <span class="Constant"> .                                                  ╎                                                 .</span>
@@ -98,7 +98,7 @@ if ('onhashchange' in window) {
 <span id="L37" class="LineNr"> 37 </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>    event-loop screen, console, env, resources
+<span id="L40" class="LineNr"> 40 </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="Constant"> .                                                                                 run (F4)           .</span>
@@ -116,7 +116,7 @@ if ('onhashchange' in window) {
 <span id="L55" class="LineNr"> 55 </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>    event-loop screen, console, env, resources
+<span id="L58" class="LineNr"> 58 </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="Constant"> .                                                                                 run (F4)           .</span>
@@ -127,46 +127,46 @@ if ('onhashchange' in window) {
 <span id="L66" class="LineNr"> 66 </span>  ]
 <span id="L67" class="LineNr"> 67 </span>]
 <span id="L68" class="LineNr"> 68 </span>
-<span id="L69" class="LineNr"> 69 </span><span class="muRecipe">after</span> <span class="Constant">&lt;global-touch&gt;</span> [
+<span id="L69" class="LineNr"> 69 </span><span class="muRecipe">after</span> <span class="Constant"><a href='004-programming-environment.mu.html#L81'>&lt;global-touch&gt;</a></span> [
 <span id="L70" class="LineNr"> 70 </span>  <span class="Comment"># support 'delete' button</span>
 <span id="L71" class="LineNr"> 71 </span>  <span class="Delimiter">{</span>
-<span id="L72" class="LineNr"> 72 </span>    delete?:bool <span class="Special">&lt;-</span> should-attempt-delete? click-row, click-column, env
+<span id="L72" class="LineNr"> 72 </span>    delete?:bool <span class="Special">&lt;-</span> <a href='007-sandbox-delete.mu.html#L83'>should-attempt-delete?</a> click-row, click-column, env
 <span id="L73" class="LineNr"> 73 </span>    <span class="muControl">break-unless</span> delete?
-<span id="L74" class="LineNr"> 74 </span>    delete?, env <span class="Special">&lt;-</span> try-delete-sandbox click-row, env
+<span id="L74" class="LineNr"> 74 </span>    delete?, env <span class="Special">&lt;-</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="muControl">break-unless</span> delete?
-<span id="L76" class="LineNr"> 76 </span>    screen <span class="Special">&lt;-</span> render-sandbox-side screen, env, render
-<span id="L77" class="LineNr"> 77 </span>    screen <span class="Special">&lt;-</span> update-cursor screen, recipes, current-sandbox, sandbox-in-focus?, env
+<span id="L76" class="LineNr"> 76 </span>    <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</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>    <a href='../081print.mu.html#L16'>screen</a> <span class="Special">&lt;-</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="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>]
 <span id="L81" class="LineNr"> 81 </span>
 <span id="L82" class="LineNr"> 82 </span><span class="Comment"># some preconditions for attempting to delete a sandbox</span>
-<span id="L83" class="LineNr"> 83 </span><span class="muRecipe">def</span> should-attempt-delete? click-row:num, click-column:num, env:&amp;:environment<span class="muRecipe"> -&gt; </span>result:bool [
+<span id="L83" class="LineNr"> 83 </span><span class="muRecipe">def</span> <a href='007-sandbox-delete.mu.html#L83'>should-attempt-delete?</a> click-row:num, click-column:num, env:&amp;:environment<span class="muRecipe"> -&gt; </span>result:bool [
 <span id="L84" class="LineNr"> 84 </span>  <span class="Constant">local-scope</span>
 <span id="L85" class="LineNr"> 85 </span>  <span class="Constant">load-inputs</span>
 <span id="L86" class="LineNr"> 86 </span>  <span class="Comment"># are we below the sandbox editor?</span>
-<span id="L87" class="LineNr"> 87 </span>  click-sandbox-area?:bool <span class="Special">&lt;-</span> click-on-sandbox-area? click-row, click-column, env
+<span id="L87" class="LineNr"> 87 </span>  click-sandbox-area?:bool <span class="Special">&lt;-</span> <a href='006-sandbox-copy.mu.html#L190'>click-on-sandbox-area?</a> click-row, click-column, env
 <span id="L88" class="LineNr"> 88 </span>  <span class="muControl">return-unless</span> click-sandbox-area?, <span class="Constant">0/false</span>
 <span id="L89" class="LineNr"> 89 </span>  <span class="Comment"># narrower, is the click in the columns spanning the 'copy' button?</span>
 <span id="L90" class="LineNr"> 90 </span>  first-sandbox:&amp;:editor <span class="Special">&lt;-</span> get *env, <span class="Constant">current-sandbox:offset</span>
 <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">&lt;-</span> get *first-sandbox, <span class="Constant">left:offset</span>
 <span id="L93" class="LineNr"> 93 </span>  sandbox-right-margin:num <span class="Special">&lt;-</span> get *first-sandbox, <span class="Constant">right:offset</span>
-<span id="L94" class="LineNr"> 94 </span>  _, _, _, _, _, _, delete-button-left:num <span class="Special">&lt;-</span> sandbox-menu-columns sandbox-left-margin, sandbox-right-margin
-<span id="L95" class="LineNr"> 95 </span>  result <span class="Special">&lt;-</span> within-range? click-column, delete-button-left, sandbox-right-margin
+<span id="L94" class="LineNr"> 94 </span>  _, _, _, _, _, _, delete-button-left:num <span class="Special">&lt;-</span> <a href='005-sandbox.mu.html#L378'>sandbox-menu-columns</a> sandbox-left-margin, sandbox-right-margin
+<span id="L95" class="LineNr"> 95 </span>  result <span class="Special">&lt;-</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>
-<span id="L98" class="LineNr"> 98 </span><span class="muRecipe">def</span> try-delete-sandbox click-row:num, env:&amp;:environment<span class="muRecipe"> -&gt; </span>clicked-on-delete-button?:bool, env:&amp;:environment [
+<span id="L98" class="LineNr"> 98 </span><span class="muRecipe">def</span> <a href='007-sandbox-delete.mu.html#L98'>try-delete-sandbox</a> click-row:num, env:&amp;:environment<span class="muRecipe"> -&gt; </span>clicked-on-delete-button?:bool, env:&amp;:environment [
 <span id="L99" class="LineNr"> 99 </span>  <span class="Constant">local-scope</span>
 <span id="L100" class="LineNr">100 </span>  <span class="Constant">load-inputs</span>
 <span id="L101" class="LineNr">101 </span>  <span class="Comment"># identify the sandbox to delete, if the click was actually on the 'delete' button</span>
-<span id="L102" class="LineNr">102 </span>  sandbox:&amp;:sandbox <span class="Special">&lt;-</span> find-sandbox env, click-row
+<span id="L102" class="LineNr">102 </span>  sandbox:&amp;:sandbox <span class="Special">&lt;-</span> <a href='006-sandbox-copy.mu.html#L175'>find-sandbox</a> env, click-row
 <span id="L103" class="LineNr">103 </span>  <span class="muControl">return-unless</span> sandbox, <span class="Constant">0/false</span>
 <span id="L104" class="LineNr">104 </span>  clicked-on-delete-button? <span class="Special">&lt;-</span> copy <span class="Constant">1/true</span>
-<span id="L105" class="LineNr">105 </span>  env <span class="Special">&lt;-</span> delete-sandbox env, sandbox
+<span id="L105" class="LineNr">105 </span>  env <span class="Special">&lt;-</span> <a href='007-sandbox-delete.mu.html#L108'>delete-sandbox</a> env, sandbox
 <span id="L106" class="LineNr">106 </span>]
 <span id="L107" class="LineNr">107 </span>
-<span id="L108" class="LineNr">108 </span><span class="muRecipe">def</span> delete-sandbox env:&amp;:environment, sandbox:&amp;:sandbox<span class="muRecipe"> -&gt; </span>env:&amp;:environment [
+<span id="L108" class="LineNr">108 </span><span class="muRecipe">def</span> <a href='007-sandbox-delete.mu.html#L108'>delete-sandbox</a> env:&amp;:environment, sandbox:&amp;:sandbox<span class="muRecipe"> -&gt; </span>env:&amp;:environment [
 <span id="L109" class="LineNr">109 </span>  <span class="Constant">local-scope</span>
 <span id="L110" class="LineNr">110 </span>  <span class="Constant">load-inputs</span>
 <span id="L111" class="LineNr">111 </span>  curr-sandbox:&amp;:sandbox <span class="Special">&lt;-</span> get *env, <span class="Constant">sandbox:offset</span>
@@ -215,8 +215,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:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L158" class="LineNr">158 </span>  render-all screen, env, render
+<span id="L157" class="LineNr">157 </span>  env:&amp;:environment <span class="Special">&lt;-</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>    press ctrl-n
@@ -224,9 +224,9 @@ if ('onhashchange' in window) {
 <span id="L163" class="LineNr">163 </span>    press F4
 <span id="L164" class="LineNr">164 </span>    type <span class="Constant">[add 1, 1]</span>
 <span id="L165" class="LineNr">165 </span>    press F4
-<span id="L166" class="LineNr">166 </span>    press page-down
+<span id="L166" class="LineNr">166 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
 <span id="L167" class="LineNr">167 </span>  ]
-<span id="L168" class="LineNr">168 </span>  event-loop screen, console, env, resources
+<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="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L171" class="LineNr">171 </span>   <span class="Constant"> .                                                  ╎─────────────────────────────────────────────────.</span>
@@ -241,7 +241,7 @@ if ('onhashchange' in window) {
 <span id="L180" class="LineNr">180 </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>    event-loop screen, console, env, resources
+<span id="L183" class="LineNr">183 </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 [
@@ -262,8 +262,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:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L205" class="LineNr">205 </span>  render-all screen, env, render
+<span id="L204" class="LineNr">204 </span>  env:&amp;:environment <span class="Special">&lt;-</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>    press ctrl-n
@@ -271,9 +271,9 @@ if ('onhashchange' in window) {
 <span id="L210" class="LineNr">210 </span>    press F4
 <span id="L211" class="LineNr">211 </span>    type <span class="Constant">[add 1, 1]</span>
 <span id="L212" class="LineNr">212 </span>    press F4
-<span id="L213" class="LineNr">213 </span>    press page-down
+<span id="L213" class="LineNr">213 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
 <span id="L214" class="LineNr">214 </span>  ]
-<span id="L215" class="LineNr">215 </span>  event-loop screen, console, env, resources
+<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="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L218" class="LineNr">218 </span>   <span class="Constant"> .                                                  ╎─────────────────────────────────────────────────.</span>
@@ -288,7 +288,7 @@ if ('onhashchange' in window) {
 <span id="L227" class="LineNr">227 </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>    event-loop screen, console, env, resources
+<span id="L230" class="LineNr">230 </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 [
@@ -309,8 +309,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:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L252" class="LineNr">252 </span>  render-all screen, env, render
+<span id="L251" class="LineNr">251 </span>  env:&amp;:environment <span class="Special">&lt;-</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>    press ctrl-n
@@ -318,10 +318,10 @@ if ('onhashchange' in window) {
 <span id="L257" class="LineNr">257 </span>    press F4
 <span id="L258" class="LineNr">258 </span>    type <span class="Constant">[add 1, 1]</span>
 <span id="L259" class="LineNr">259 </span>    press F4
-<span id="L260" class="LineNr">260 </span>    press page-down
-<span id="L261" class="LineNr">261 </span>    press page-down
+<span id="L260" class="LineNr">260 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
+<span id="L261" class="LineNr">261 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
 <span id="L262" class="LineNr">262 </span>  ]
-<span id="L263" class="LineNr">263 </span>  event-loop screen, console, env, resources
+<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="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L266" class="LineNr">266 </span>   <span class="Constant"> .                                                  ╎─────────────────────────────────────────────────.</span>
@@ -336,7 +336,7 @@ if ('onhashchange' in window) {
 <span id="L275" class="LineNr">275 </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>    event-loop screen, console, env, resources
+<span id="L278" class="LineNr">278 </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 [
@@ -358,8 +358,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:&amp;:environment <span class="Special">&lt;-</span> new-programming-environment resources, screen, <span class="Constant">[]</span>
-<span id="L301" class="LineNr">301 </span>  render-all screen, env, render
+<span id="L300" class="LineNr">300 </span>  env:&amp;:environment <span class="Special">&lt;-</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>    press ctrl-n
@@ -368,7 +368,7 @@ if ('onhashchange' in window) {
 <span id="L307" class="LineNr">307 </span>    type <span class="Constant">[add 1, 1]</span>
 <span id="L308" class="LineNr">308 </span>    press F4
 <span id="L309" class="LineNr">309 </span>  ]
-<span id="L310" class="LineNr">310 </span>  event-loop screen, console, env, resources
+<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="Constant"> .                                                                                 run (F4)           .</span>
 <span id="L313" class="LineNr">313 </span>   <span class="Constant"> .                                                  ╎                                                 .</span>
@@ -384,11 +384,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>    left-click<span class="Constant"> 3</span>,<span class="Constant"> 99</span>
-<span id="L326" class="LineNr">326 </span>    press page-down
-<span id="L327" class="LineNr">327 </span>    press page-down
+<span id="L326" class="LineNr">326 </span>    press <a href='003-shortcuts.mu.html#L3597'>page-down</a>
+<span id="L327" class="LineNr">327 </span>    press <a href='003-shortcuts.mu.html#L3597'>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>    event-loop screen, console, env, resources
+<span id="L330" class="LineNr">330 </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 [