about summary refs log tree commit diff stats
path: root/html/edit/007-sandbox-delete.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-07-27 17:07:52 -0700
committerKartik Agaram <vc@akkartik.com>2018-07-27 17:08:29 -0700
commit5fe060d582d4a82444243a28b18085c971a85628 (patch)
tree7a13eb020d0a9cab5d4195da931a373f575229ab /html/edit/007-sandbox-delete.mu.html
parent013d95266d563a3f531c13eba6d2a6bfe18f8808 (diff)
downloadmu-5fe060d582d4a82444243a28b18085c971a85628.tar.gz
4447
Diffstat (limited to 'html/edit/007-sandbox-delete.mu.html')
-rw-r--r--html/edit/007-sandbox-delete.mu.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/html/edit/007-sandbox-delete.mu.html b/html/edit/007-sandbox-delete.mu.html
index d51294bc..74ad4eb6 100644
--- a/html/edit/007-sandbox-delete.mu.html
+++ b/html/edit/007-sandbox-delete.mu.html
@@ -15,16 +15,16 @@ body { font-size: 12pt; font-family: monospace; color: #aaaaaa; background-color
 a { color:#eeeeee; text-decoration: none; }
 a:hover { text-decoration: underline; }
 * { font-size: 12pt; font-size: 1em; }
+.Delimiter { color: #800080; }
 .muRecipe { color: #ff8700; }
-.muScenario { color: #00af00; }
 .Special { color: #c00000; }
-.Delimiter { color: #800080; }
 .SalientComment { color: #00ffff; }
 .Constant { color: #00a0a0; }
 .LineNr { color: #444444; }
+.muControl { color: #c0a020; }
 .Comment { color: #9090ff; }
 .Comment a { color:#0000ee; text-decoration:underline; }
-.muControl { color: #c0a020; }
+.muScenario { color: #00af00; }
 -->
 </style>
 
@@ -68,7 +68,7 @@ if ('onhashchange' in window) {
 <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> <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="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#L109'>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>
@@ -134,7 +134,7 @@ if ('onhashchange' in window) {
 <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> <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>    <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="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#L109'>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#L468'>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>
@@ -146,7 +146,7 @@ if ('onhashchange' in window) {
 <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> <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="L88" class="LineNr"> 88 </span>  <span class="muControl">return-unless</span> click-sandbox-area?,<span class="Constant"> 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>
@@ -161,8 +161,8 @@ if ('onhashchange' in window) {
 <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> <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="L103" class="LineNr">103 </span>  <span class="muControl">return-unless</span> sandbox,<span class="Constant"> false</span>
+<span id="L104" class="LineNr">104 </span>  clicked-on-delete-button? <span class="Special">&lt;-</span> copy<span class="Constant"> true</span>
 <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>
@@ -216,7 +216,7 @@ if ('onhashchange' in window) {
 <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> <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="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#L109'>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,7 +224,7 @@ 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 <a href='003-shortcuts.mu.html#L3597'>page-down</a>
+<span id="L166" class="LineNr">166 </span>    press <a href='003-shortcuts.mu.html#L3610'>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#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 [
@@ -263,7 +263,7 @@ if ('onhashchange' in window) {
 <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> <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="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#L109'>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,7 +271,7 @@ 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 <a href='003-shortcuts.mu.html#L3597'>page-down</a>
+<span id="L213" class="LineNr">213 </span>    press <a href='003-shortcuts.mu.html#L3610'>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#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 [
@@ -310,7 +310,7 @@ if ('onhashchange' in window) {
 <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> <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="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#L109'>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,8 +318,8 @@ 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 <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="L260" class="LineNr">260 </span>    press <a href='003-shortcuts.mu.html#L3610'>page-down</a>
+<span id="L261" class="LineNr">261 </span>    press <a href='003-shortcuts.mu.html#L3610'>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#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 [
@@ -359,7 +359,7 @@ if ('onhashchange' in window) {
 <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> <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="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#L109'>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
@@ -384,8 +384,8 @@ 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 <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="L326" class="LineNr">326 </span>    press <a href='003-shortcuts.mu.html#L3610'>page-down</a>
+<span id="L327" class="LineNr">327 </span>    press <a href='003-shortcuts.mu.html#L3610'>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>    <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>