diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-05-27 21:32:51 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-05-27 21:32:51 -0700 |
commit | 4f2adf06713eeec995d7811cd1d7a4dfe3cdda86 (patch) | |
tree | 92fc50fc557842bf4c7ef5a56d9c3ac07eac5ae7 /html/edit/008-sandbox-edit.mu.html | |
parent | 3c6cd5e8dca92d8b0073cecd18f5ab4bada1f9c1 (diff) | |
download | mu-4f2adf06713eeec995d7811cd1d7a4dfe3cdda86.tar.gz |
3883
Diffstat (limited to 'html/edit/008-sandbox-edit.mu.html')
-rw-r--r-- | html/edit/008-sandbox-edit.mu.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/html/edit/008-sandbox-edit.mu.html b/html/edit/008-sandbox-edit.mu.html index 99fe4400..f55c5f4f 100644 --- a/html/edit/008-sandbox-edit.mu.html +++ b/html/edit/008-sandbox-edit.mu.html @@ -79,7 +79,7 @@ if ('onhashchange' in window) { <span id="L17" class="LineNr"> 17 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L18" class="LineNr"> 18 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> <span id="L19" class="LineNr"> 19 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L20" class="LineNr"> 20 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L20" class="LineNr"> 20 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L21" class="LineNr"> 21 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L22" class="LineNr"> 22 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L23" class="LineNr"> 23 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -131,7 +131,7 @@ if ('onhashchange' in window) { <span id="L69" class="LineNr"> 69 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L70" class="LineNr"> 70 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> <span id="L71" class="LineNr"> 71 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L72" class="LineNr"> 72 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L72" class="LineNr"> 72 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L73" class="LineNr"> 73 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L74" class="LineNr"> 74 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L75" class="LineNr"> 75 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -139,7 +139,7 @@ if ('onhashchange' in window) { <span id="L77" class="LineNr"> 77 </span> ] <span id="L78" class="LineNr"> 78 </span> <span class="Comment"># click at right edge of 'edit' button (just before 'copy')</span> <span id="L79" class="LineNr"> 79 </span> assume-console [ -<span id="L80" class="LineNr"> 80 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 68</span> +<span id="L80" class="LineNr"> 80 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 65</span> <span id="L81" class="LineNr"> 81 </span> ] <span id="L82" class="LineNr"> 82 </span> run [ <span id="L83" class="LineNr"> 83 </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> @@ -173,7 +173,7 @@ if ('onhashchange' in window) { <span id="L111" class="LineNr">111 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> edit? <span id="L112" class="LineNr">112 </span> <span class="Conceal">¦</span> edit?, env <span class="Special"><-</span> <a href='008-sandbox-edit.mu.html#L140'>try-edit-sandbox</a> click-row, env <span id="L113" class="LineNr">113 </span> <span class="Conceal">¦</span> <span class="muControl">break-unless</span> edit? -<span id="L114" class="LineNr">114 </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#L122'>render</a> +<span id="L114" class="LineNr">114 </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="L115" class="LineNr">115 </span> <span class="Conceal">¦</span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='004-programming-environment.mu.html#L466'>update-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, recipes, current-sandbox, sandbox-in-focus?, env <span id="L116" class="LineNr">116 </span> <span class="Conceal">¦</span> <span class="muControl">loop</span> <span class="Constant">+next-event</span> <span id="L117" class="LineNr">117 </span> <span class="Delimiter">}</span> @@ -191,7 +191,7 @@ if ('onhashchange' in window) { <span id="L129" class="LineNr">129 </span> assert first-sandbox, <span class="Constant">[!!]</span> <span id="L130" class="LineNr">130 </span> sandbox-left-margin:num <span class="Special"><-</span> get *first-sandbox, <span class="Constant">left:offset</span> <span id="L131" class="LineNr">131 </span> sandbox-right-margin:num <span class="Special"><-</span> get *first-sandbox, <span class="Constant">right:offset</span> -<span id="L132" class="LineNr">132 </span> edit-button-left:num, edit-button-right:num, _ <span class="Special"><-</span> <a href='005-sandbox.mu.html#L338'>sandbox-menu-columns</a> sandbox-left-margin, sandbox-right-margin +<span id="L132" class="LineNr">132 </span> edit-button-left:num, edit-button-right:num, _ <span class="Special"><-</span> <a href='005-sandbox.mu.html#L340'>sandbox-menu-columns</a> sandbox-left-margin, sandbox-right-margin <span id="L133" class="LineNr">133 </span> edit-button-vertical-area?:bool <span class="Special"><-</span> <a href='006-sandbox-copy.mu.html#L209'>within-range?</a> click-column, edit-button-left, edit-button-right <span id="L134" class="LineNr">134 </span> <span class="muControl">return-unless</span> edit-button-vertical-area?, <span class="Constant">0/false</span> <span id="L135" class="LineNr">135 </span> <span class="Comment"># finally, is sandbox editor empty?</span> @@ -235,7 +235,7 @@ if ('onhashchange' in window) { <span id="L173" class="LineNr">173 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L174" class="LineNr">174 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> <span id="L175" class="LineNr">175 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L176" class="LineNr">176 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L176" class="LineNr">176 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L177" class="LineNr">177 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎print <a href='../081print.mu.html#L4'>screen</a>, 4 .</span> <span id="L178" class="LineNr">178 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎screen: .</span> <span id="L179" class="LineNr">179 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .4 . .</span> @@ -270,7 +270,7 @@ if ('onhashchange' in window) { <span id="L208" class="LineNr">208 </span> assume-resources [ <span id="L209" class="LineNr">209 </span> ] <span id="L210" class="LineNr">210 </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="L211" class="LineNr">211 </span> <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L122'>render</a> +<span id="L211" class="LineNr">211 </span> <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L212" class="LineNr">212 </span> <span class="Comment"># create 2 sandboxes and scroll to second</span> <span id="L213" class="LineNr">213 </span> assume-console [ <span id="L214" class="LineNr">214 </span> <span class="Conceal">¦</span> press ctrl-n @@ -285,7 +285,7 @@ if ('onhashchange' in window) { <span id="L223" class="LineNr">223 </span> screen-should-contain [ <span id="L224" class="LineNr">224 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L225" class="LineNr">225 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> -<span id="L226" class="LineNr">226 </span> <span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎1 edit copy delete .</span> +<span id="L226" class="LineNr">226 </span> <span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎1 edit copy to recipe delete .</span> <span id="L227" class="LineNr">227 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L228" class="LineNr">228 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L229" class="LineNr">229 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -303,7 +303,7 @@ if ('onhashchange' in window) { <span id="L241" class="LineNr">241 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L242" class="LineNr">242 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L243" class="LineNr">243 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L244" class="LineNr">244 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L244" class="LineNr">244 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L245" class="LineNr">245 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 1, 1 .</span> <span id="L246" class="LineNr">246 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎2 .</span> <span id="L247" class="LineNr">247 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> @@ -319,7 +319,7 @@ if ('onhashchange' in window) { <span id="L257" class="LineNr">257 </span> assume-resources [ <span id="L258" class="LineNr">258 </span> ] <span id="L259" class="LineNr">259 </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="L260" class="LineNr">260 </span> <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L122'>render</a> +<span id="L260" class="LineNr">260 </span> <a href='004-programming-environment.mu.html#L400'>render-all</a> <a href='../081print.mu.html#L4'>screen</a>, env, <a href='001-editor.mu.html#L107'>render</a> <span id="L261" class="LineNr">261 </span> <span class="Comment"># create 2 sandboxes</span> <span id="L262" class="LineNr">262 </span> assume-console [ <span id="L263" class="LineNr">263 </span> <span class="Conceal">¦</span> press ctrl-n @@ -333,11 +333,11 @@ if ('onhashchange' in window) { <span id="L271" class="LineNr">271 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L272" class="LineNr">272 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> <span id="L273" class="LineNr">273 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L274" class="LineNr">274 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L274" class="LineNr">274 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L275" class="LineNr">275 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 1, 1 .</span> <span id="L276" class="LineNr">276 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎2 .</span> <span id="L277" class="LineNr">277 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> -<span id="L278" class="LineNr">278 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎1 edit copy delete .</span> +<span id="L278" class="LineNr">278 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎1 edit copy to recipe delete .</span> <span id="L279" class="LineNr">279 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L280" class="LineNr">280 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L281" class="LineNr">281 </span> ] @@ -354,11 +354,11 @@ if ('onhashchange' in window) { <span id="L292" class="LineNr">292 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L293" class="LineNr">293 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎ .</span> <span id="L294" class="LineNr">294 </span><span class="Constant"> </span><span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎─────────────────────────────────────────────────.</span> -<span id="L295" class="LineNr">295 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy delete .</span> +<span id="L295" class="LineNr">295 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎0 edit copy to recipe delete .</span> <span id="L296" class="LineNr">296 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 1, 1 .</span> <span id="L297" class="LineNr">297 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎2 .</span> <span id="L298" class="LineNr">298 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> -<span id="L299" class="LineNr">299 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎1 edit copy delete .</span> +<span id="L299" class="LineNr">299 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎1 edit copy to recipe delete .</span> <span id="L300" class="LineNr">300 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L301" class="LineNr">301 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L302" class="LineNr">302 </span> ] @@ -375,7 +375,7 @@ if ('onhashchange' in window) { <span id="L313" class="LineNr">313 </span> screen-should-contain [ <span id="L314" class="LineNr">314 </span> <span class="Conceal">¦</span><span class="Constant"> . run (F4) .</span> <span id="L315" class="LineNr">315 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> -<span id="L316" class="LineNr">316 </span> <span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎1 edit copy delete .</span> +<span id="L316" class="LineNr">316 </span> <span class="Conceal">¦</span><span class="Constant"> .╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╎1 edit copy to recipe delete .</span> <span id="L317" class="LineNr">317 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎add 2, 2 .</span> <span id="L318" class="LineNr">318 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎4 .</span> <span id="L319" class="LineNr">319 </span> <span class="Conceal">¦</span><span class="Constant"> . ╎─────────────────────────────────────────────────.</span> |