diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2018-02-18 15:55:42 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2018-02-18 15:55:42 -0800 |
commit | 94ffc3776c8037416e4834eb5b94644587c18e10 (patch) | |
tree | bd27e5555427959a336916bec9f94cc058f29396 /html/edit/009-sandbox-test.mu.html | |
parent | cbeb3ca796bc8d2d8ccd7aaea62d450410b3ef79 (diff) | |
download | mu-94ffc3776c8037416e4834eb5b94644587c18e10.tar.gz |
4209
Diffstat (limited to 'html/edit/009-sandbox-test.mu.html')
-rw-r--r-- | html/edit/009-sandbox-test.mu.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/edit/009-sandbox-test.mu.html b/html/edit/009-sandbox-test.mu.html index 5d269e79..69023387 100644 --- a/html/edit/009-sandbox-test.mu.html +++ b/html/edit/009-sandbox-test.mu.html @@ -167,7 +167,7 @@ if ('onhashchange' in window) { <span id="L105" class="LineNr">105 </span> <span class="Delimiter">}</span> <span id="L106" class="LineNr">106 </span>] <span id="L107" class="LineNr">107 </span> -<span id="L108" class="LineNr">108 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L490'><end-restore-sandbox></a></span> [ +<span id="L108" class="LineNr">108 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L488'><end-restore-sandbox></a></span> [ <span id="L109" class="LineNr">109 </span> <span class="Delimiter">{</span> <span id="L110" class="LineNr">110 </span> filename <span class="Special"><-</span> append filename, <span class="Constant">[.out]</span> <span id="L111" class="LineNr">111 </span> contents <span class="Special"><-</span> <a href='../088file.mu.html#L38'>slurp</a> <a href='../088file.mu.html#L11'>resources</a>, filename @@ -204,9 +204,9 @@ if ('onhashchange' in window) { <span id="L142" class="LineNr">142 </span> height:num <span class="Special"><-</span> <a href='../081print.mu.html#L782'>screen-height</a> <a href='../081print.mu.html#L16'>screen</a> <span id="L143" class="LineNr">143 </span> at-bottom?:bool <span class="Special"><-</span> greater-or-equal row, height <span id="L144" class="LineNr">144 </span> <span class="muControl">break-if</span> at-bottom? -<span id="L145" class="LineNr">145 </span> <a href='002-typing.mu.html#L1116'>draw-horizontal</a> <a href='../081print.mu.html#L16'>screen</a>, row, sandbox-left-margin, sandbox-right-margin +<span id="L145" class="LineNr">145 </span> <a href='002-typing.mu.html#L1114'>draw-horizontal</a> <a href='../081print.mu.html#L16'>screen</a>, row, sandbox-left-margin, sandbox-right-margin <span id="L146" class="LineNr">146 </span> <span class="Delimiter">}</span> -<span id="L147" class="LineNr">147 </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="L147" class="LineNr">147 </span> <a href='../081print.mu.html#L16'>screen</a> <span class="Special"><-</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="L148" class="LineNr">148 </span> <span class="muControl"> loop</span> <span class="Constant">+next-event</span> <span id="L149" class="LineNr">149 </span> <span class="Delimiter">}</span> <span id="L150" class="LineNr">150 </span>] @@ -257,7 +257,7 @@ if ('onhashchange' in window) { <span id="L195" class="LineNr">195 </span>] <span id="L196" class="LineNr">196 </span> <span id="L197" class="LineNr">197 </span><span class="Comment"># when rendering a sandbox, color it in red/green if expected response exists</span> -<span id="L198" class="LineNr">198 </span><span class="muRecipe">after</span> <span class="Constant"><a href='005-sandbox.mu.html#L311'><render-sandbox-response></a></span> [ +<span id="L198" class="LineNr">198 </span><span class="muRecipe">after</span> <span class="Constant"><a href='005-sandbox.mu.html#L309'><render-sandbox-response></a></span> [ <span id="L199" class="LineNr">199 </span> <span class="Delimiter">{</span> <span id="L200" class="LineNr">200 </span> <span class="muControl">break-unless</span> sandbox-response <span id="L201" class="LineNr">201 </span> *sandbox <span class="Special"><-</span> put *sandbox, <span class="Constant">response-starting-row-on-screen:offset</span>, row @@ -274,21 +274,21 @@ if ('onhashchange' in window) { <span id="L212" class="LineNr">212 </span> row:num <span class="Special"><-</span> get *sandbox <span class="Constant">response-starting-row-on-screen:offset</span> <span id="L213" class="LineNr">213 </span> <span class="Delimiter">{</span> <span id="L214" class="LineNr">214 </span> <span class="muControl">break-if</span> expected-response -<span id="L215" class="LineNr">215 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L398'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">245/grey</span>, row +<span id="L215" class="LineNr">215 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L396'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">245/grey</span>, row <span id="L216" class="LineNr">216 </span> <span class="muControl"> return</span> <span id="L217" class="LineNr">217 </span> <span class="Delimiter">}</span> <span id="L218" class="LineNr">218 </span> response-is-expected?:bool <span class="Special"><-</span> equal expected-response, sandbox-response <span id="L219" class="LineNr">219 </span> <span class="Delimiter">{</span> <span id="L220" class="LineNr">220 </span> <span class="muControl">break-if</span> response-is-expected? -<span id="L221" class="LineNr">221 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L398'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row +<span id="L221" class="LineNr">221 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L396'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">1/red</span>, row <span id="L222" class="LineNr">222 </span> <span class="Delimiter">}</span> <span id="L223" class="LineNr">223 </span> <span class="Delimiter">{</span> <span id="L224" class="LineNr">224 </span> <span class="muControl">break-unless</span> response-is-expected?:bool -<span id="L225" class="LineNr">225 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L398'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row +<span id="L225" class="LineNr">225 </span> row <span class="Special"><-</span> <a href='005-sandbox.mu.html#L396'>render-text</a> <a href='../081print.mu.html#L16'>screen</a>, sandbox-response, left, right, <span class="Constant">2/green</span>, row <span id="L226" class="LineNr">226 </span> <span class="Delimiter">}</span> <span id="L227" class="LineNr">227 </span>] <span id="L228" class="LineNr">228 </span> -<span id="L229" class="LineNr">229 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L325'><end-render-sandbox-reset-hidden></a></span> [ +<span id="L229" class="LineNr">229 </span><span class="muRecipe">before</span> <span class="Constant"><a href='005-sandbox.mu.html#L323'><end-render-sandbox-reset-hidden></a></span> [ <span id="L230" class="LineNr">230 </span> *sandbox <span class="Special"><-</span> put *sandbox, <span class="Constant">response-starting-row-on-screen:offset</span>,<span class="Constant"> 0</span> <span id="L231" class="LineNr">231 </span>] </pre> |