diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:38:53 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-27 20:39:51 -0800 |
commit | f0c55e6b97edf8971ce4adad3ee53cbfa406b7ef (patch) | |
tree | d816e398a5bc38010f277e6677b9de83bc3f2faa /html/edit/005-sandbox.mu.html | |
parent | e82dc626685875d56738e733f7e18203f2ac7f9d (diff) | |
download | mu-f0c55e6b97edf8971ce4adad3ee53cbfa406b7ef.tar.gz |
4165
Diffstat (limited to 'html/edit/005-sandbox.mu.html')
-rw-r--r-- | html/edit/005-sandbox.mu.html | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/html/edit/005-sandbox.mu.html b/html/edit/005-sandbox.mu.html index f91232db..d46cf41e 100644 --- a/html/edit/005-sandbox.mu.html +++ b/html/edit/005-sandbox.mu.html @@ -202,7 +202,7 @@ if ('onhashchange' in window) { <span id="L139" class="LineNr"> 139 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L217'>update-status</a> <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">[ ]</span>, <span class="Constant">245/grey</span> <span id="L140" class="LineNr"> 140 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L141" class="LineNr"> 141 </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="L142" class="LineNr"> 142 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span> +<span id="L142" class="LineNr"> 142 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-event</span> <span id="L143" class="LineNr"> 143 </span> <span class="Delimiter">}</span> <span id="L144" class="LineNr"> 144 </span>] <span id="L145" class="LineNr"> 145 </span> @@ -245,7 +245,7 @@ if ('onhashchange' in window) { <span id="L182" class="LineNr"> 182 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> update-sandbox curr, env, idx <span id="L183" class="LineNr"> 183 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> get *curr, <span class="Constant">next-sandbox:offset</span> <span id="L184" class="LineNr"> 184 </span> <span class="Conceal">¦</span> idx <span class="Special"><-</span> add idx,<span class="Constant"> 1</span> -<span id="L185" class="LineNr"> 185 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L185" class="LineNr"> 185 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L186" class="LineNr"> 186 </span> <span class="Delimiter">}</span> <span id="L187" class="LineNr"> 187 </span><span class="Constant"> <a href='005-sandbox.mu.html#L187'><end-run-sandboxes></a></span> <span id="L188" class="LineNr"> 188 </span><span class="Constant"> +return</span> @@ -298,7 +298,7 @@ if ('onhashchange' in window) { <span id="L235" class="LineNr"> 235 </span> <span class="Conceal">¦</span> <a href='../088file.mu.html#L11'>resources</a> <span class="Special"><-</span> <a href='005-sandbox.mu.html#L242'>save-sandbox</a> <a href='../088file.mu.html#L11'>resources</a>, curr, idx <span id="L236" class="LineNr"> 236 </span> <span class="Conceal">¦</span> idx <span class="Special"><-</span> add idx,<span class="Constant"> 1</span> <span id="L237" class="LineNr"> 237 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> get *curr, <span class="Constant">next-sandbox:offset</span> -<span id="L238" class="LineNr"> 238 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L238" class="LineNr"> 238 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L239" class="LineNr"> 239 </span> <span class="Delimiter">}</span> <span id="L240" class="LineNr"> 240 </span>] <span id="L241" class="LineNr"> 241 </span> @@ -485,13 +485,13 @@ if ('onhashchange' in window) { <span id="L422" class="LineNr"> 422 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> space:char <span class="Special"><-</span> copy <span class="Constant">32/space</span> <span id="L423" class="LineNr"> 423 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='../081print.mu.html#L16'>screen</a>, space <span id="L424" class="LineNr"> 424 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> column <span class="Special"><-</span> add column,<span class="Constant"> 1</span> -<span id="L425" class="LineNr"> 425 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L425" class="LineNr"> 425 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L426" class="LineNr"> 426 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L427" class="LineNr"> 427 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row <span class="Special"><-</span> add row,<span class="Constant"> 1</span> <span id="L428" class="LineNr"> 428 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> column <span class="Special"><-</span> copy left <span id="L429" class="LineNr"> 429 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> move-cursor <a href='../081print.mu.html#L16'>screen</a>, row, column <span id="L430" class="LineNr"> 430 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> -<span id="L431" class="LineNr"> 431 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-character</span> +<span id="L431" class="LineNr"> 431 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-character</span> <span id="L432" class="LineNr"> 432 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L433" class="LineNr"> 433 </span> <span class="Conceal">¦</span> <span class="Delimiter">{</span> <span id="L434" class="LineNr"> 434 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment"># at right? wrap.</span> @@ -504,12 +504,12 @@ if ('onhashchange' in window) { <span id="L441" class="LineNr"> 441 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> row <span class="Special"><-</span> add row,<span class="Constant"> 1</span> <span id="L442" class="LineNr"> 442 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> move-cursor <a href='../081print.mu.html#L16'>screen</a>, row, column <span id="L443" class="LineNr"> 443 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment"># don't increment i</span> -<span id="L444" class="LineNr"> 444 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-character</span> +<span id="L444" class="LineNr"> 444 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-character</span> <span id="L445" class="LineNr"> 445 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L446" class="LineNr"> 446 </span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> <span id="L447" class="LineNr"> 447 </span> <span class="Conceal">¦</span> print <a href='../081print.mu.html#L16'>screen</a>, c, color <span id="L448" class="LineNr"> 448 </span> <span class="Conceal">¦</span> column <span class="Special"><-</span> add column,<span class="Constant"> 1</span> -<span id="L449" class="LineNr"> 449 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L449" class="LineNr"> 449 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L450" class="LineNr"> 450 </span> <span class="Delimiter">}</span> <span id="L451" class="LineNr"> 451 </span> was-at-left?:bool <span class="Special"><-</span> equal column, left <span id="L452" class="LineNr"> 452 </span> <a href='../081print.mu.html#L553'>clear-line-until</a> <a href='../081print.mu.html#L16'>screen</a>, right @@ -561,7 +561,7 @@ if ('onhashchange' in window) { <span id="L498" class="LineNr"> 498 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L499" class="LineNr"> 499 </span> <span class="Conceal">¦</span> idx <span class="Special"><-</span> add idx,<span class="Constant"> 1</span> <span id="L500" class="LineNr"> 500 </span> <span class="Conceal">¦</span> <a href='../065duplex_list.mu.html#L32'>prev</a> <span class="Special"><-</span> copy curr -<span id="L501" class="LineNr"> 501 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L501" class="LineNr"> 501 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L502" class="LineNr"> 502 </span> <span class="Delimiter">}</span> <span id="L503" class="LineNr"> 503 </span> <span class="Comment"># update sandbox count</span> <span id="L504" class="LineNr"> 504 </span> *env <span class="Special"><-</span> put *env, <span class="Constant">number-of-sandboxes:offset</span>, idx @@ -616,7 +616,7 @@ if ('onhashchange' in window) { <span id="L553" class="LineNr"> 553 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='../081print.mu.html#L16'>screen</a>, c, color <span id="L554" class="LineNr"> 554 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> column <span class="Special"><-</span> add column,<span class="Constant"> 1</span> <span id="L555" class="LineNr"> 555 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> i <span class="Special"><-</span> add i,<span class="Constant"> 1</span> -<span id="L556" class="LineNr"> 556 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L556" class="LineNr"> 556 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L557" class="LineNr"> 557 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L558" class="LineNr"> 558 </span> <span class="Conceal">¦</span> <span class="Comment"># print final '.'</span> <span id="L559" class="LineNr"> 559 </span> <span class="Conceal">¦</span> print <a href='../081print.mu.html#L16'>screen</a>, full-stop, <span class="Constant">245/grey</span> @@ -627,10 +627,10 @@ if ('onhashchange' in window) { <span id="L564" class="LineNr"> 564 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> line-done? <span id="L565" class="LineNr"> 565 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> print <a href='../081print.mu.html#L16'>screen</a>, space <span id="L566" class="LineNr"> 566 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> column <span class="Special"><-</span> add column,<span class="Constant"> 1</span> -<span id="L567" class="LineNr"> 567 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L567" class="LineNr"> 567 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L568" class="LineNr"> 568 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L569" class="LineNr"> 569 </span> <span class="Conceal">¦</span> row <span class="Special"><-</span> add row,<span class="Constant"> 1</span> -<span id="L570" class="LineNr"> 570 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L570" class="LineNr"> 570 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L571" class="LineNr"> 571 </span> <span class="Delimiter">}</span> <span id="L572" class="LineNr"> 572 </span>] <span id="L573" class="LineNr"> 573 </span> @@ -757,7 +757,7 @@ if ('onhashchange' in window) { <span id="L694" class="LineNr"> 694 </span> <span class="Conceal">¦</span> c:char <span class="Special"><-</span> get *curr, <span class="Constant">value:offset</span> <span id="L695" class="LineNr"> 695 </span> <span class="Conceal">¦</span> buf <span class="Special"><-</span> append buf, c <span id="L696" class="LineNr"> 696 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L25'>next</a> curr -<span id="L697" class="LineNr"> 697 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L697" class="LineNr"> 697 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L698" class="LineNr"> 698 </span> <span class="Delimiter">}</span> <span id="L699" class="LineNr"> 699 </span> result <span class="Special"><-</span> <a href='../061text.mu.html#L338'>buffer-to-array</a> buf <span id="L700" class="LineNr"> 700 </span>] @@ -969,7 +969,7 @@ if ('onhashchange' in window) { <span id="L906" class="LineNr"> 906 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L907" class="LineNr"> 907 </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="L908" class="LineNr"> 908 </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="L909" class="LineNr"> 909 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span> +<span id="L909" class="LineNr"> 909 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-event</span> <span id="L910" class="LineNr"> 910 </span> <span class="Delimiter">}</span> <span id="L911" class="LineNr"> 911 </span>] <span id="L912" class="LineNr"> 912 </span> @@ -982,7 +982,7 @@ if ('onhashchange' in window) { <span id="L919" class="LineNr"> 919 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> scrolling? <span id="L920" class="LineNr"> 920 </span> <span class="Conceal">¦</span> cursor-column:num <span class="Special"><-</span> get *current-sandbox, <span class="Constant">left:offset</span> <span id="L921" class="LineNr"> 921 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</span> move-cursor <a href='../081print.mu.html#L16'>screen</a>, <span class="Constant">2/row</span>, cursor-column <span class="Comment"># highlighted sandbox will always start at row 2</span> -<span id="L922" class="LineNr"> 922 </span> <span class="Conceal">¦</span> <span class="muControl">return</span> +<span id="L922" class="LineNr"> 922 </span> <span class="Conceal">¦</span><span class="muControl"> return</span> <span id="L923" class="LineNr"> 923 </span> <span class="Delimiter">}</span> <span id="L924" class="LineNr"> 924 </span>] <span id="L925" class="LineNr"> 925 </span> @@ -999,7 +999,7 @@ if ('onhashchange' in window) { <span id="L936" class="LineNr"> 936 </span> <span class="Conceal">¦</span> *env <span class="Special"><-</span> put *env, <span class="Constant">render-from:offset</span>, render-from <span id="L937" class="LineNr"> 937 </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="L938" class="LineNr"> 938 </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="L939" class="LineNr"> 939 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span> +<span id="L939" class="LineNr"> 939 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span class="Constant">+next-event</span> <span id="L940" class="LineNr"> 940 </span> <span class="Delimiter">}</span> <span id="L941" class="LineNr"> 941 </span>] <span id="L942" class="LineNr"> 942 </span> @@ -1017,9 +1017,9 @@ if ('onhashchange' in window) { <span id="L954" class="LineNr"> 954 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> found? <span id="L955" class="LineNr"> 955 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> copy <a href='../065duplex_list.mu.html#L25'>next</a> <span id="L956" class="LineNr"> 956 </span> <span class="Conceal">¦</span> <a href='../065duplex_list.mu.html#L25'>next</a> <span class="Special"><-</span> get *curr, <span class="Constant">next-sandbox:offset</span> -<span id="L957" class="LineNr"> 957 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> +<span id="L957" class="LineNr"> 957 </span> <span class="Conceal">¦</span><span class="muControl"> loop</span> <span id="L958" class="LineNr"> 958 </span> <span class="Delimiter">}</span> -<span id="L959" class="LineNr"> 959 </span> <span class="muControl">return</span> curr +<span id="L959" class="LineNr"> 959 </span> <span class="muControl"> return</span> curr <span id="L960" class="LineNr"> 960 </span>] <span id="L961" class="LineNr"> 961 </span> <span id="L962" class="LineNr"> 962 </span><span class="muScenario">scenario</span> scrolling-through-multiple-sandboxes [ |