diff options
Diffstat (limited to 'html/edit/012-editor-undo.mu.html')
-rw-r--r-- | html/edit/012-editor-undo.mu.html | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/html/edit/012-editor-undo.mu.html b/html/edit/012-editor-undo.mu.html index 5dc46385..bf1b7c99 100644 --- a/html/edit/012-editor-undo.mu.html +++ b/html/edit/012-editor-undo.mu.html @@ -165,7 +165,7 @@ if ('onhashchange' in window) { <span id="L102" class="LineNr"> 102 </span> <span class="Constant">local-scope</span> <span id="L103" class="LineNr"> 103 </span> <span class="Comment"># create an editor and type a character</span> <span id="L104" class="LineNr"> 104 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L105" class="LineNr"> 105 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L105" class="LineNr"> 105 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L106" class="LineNr"> 106 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L107" class="LineNr"> 107 </span> assume-console [ <span id="L108" class="LineNr"> 108 </span> <span class="Conceal">¦</span> type <span class="Constant">[0]</span> @@ -294,7 +294,7 @@ if ('onhashchange' in window) { <span id="L231" class="LineNr"> 231 </span> <span class="Constant">local-scope</span> <span id="L232" class="LineNr"> 232 </span> <span class="Comment"># create an editor and type multiple characters</span> <span id="L233" class="LineNr"> 233 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L234" class="LineNr"> 234 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L234" class="LineNr"> 234 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L235" class="LineNr"> 235 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L236" class="LineNr"> 236 </span> assume-console [ <span id="L237" class="LineNr"> 237 </span> <span class="Conceal">¦</span> type <span class="Constant">[012]</span> @@ -320,7 +320,7 @@ if ('onhashchange' in window) { <span id="L257" class="LineNr"> 257 </span> <span class="Constant">local-scope</span> <span id="L258" class="LineNr"> 258 </span> <span class="Comment"># create an editor with some text</span> <span id="L259" class="LineNr"> 259 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L260" class="LineNr"> 260 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[a]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L260" class="LineNr"> 260 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[a]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L261" class="LineNr"> 261 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L262" class="LineNr"> 262 </span> <span class="Comment"># type some characters</span> <span id="L263" class="LineNr"> 263 </span> assume-console [ @@ -366,7 +366,7 @@ if ('onhashchange' in window) { <span id="L303" class="LineNr"> 303 </span> <span class="Constant">local-scope</span> <span id="L304" class="LineNr"> 304 </span> <span class="Comment"># create an editor with some text</span> <span id="L305" class="LineNr"> 305 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L306" class="LineNr"> 306 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[ abc]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L306" class="LineNr"> 306 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[ abc]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L307" class="LineNr"> 307 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L308" class="LineNr"> 308 </span> <span class="Comment"># new line</span> <span id="L309" class="LineNr"> 309 </span> assume-console [ @@ -429,7 +429,7 @@ if ('onhashchange' in window) { <span id="L366" class="LineNr"> 366 </span> <span class="Constant">local-scope</span> <span id="L367" class="LineNr"> 367 </span> <span class="Comment"># create an editor, type something, undo</span> <span id="L368" class="LineNr"> 368 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L369" class="LineNr"> 369 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[a]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L369" class="LineNr"> 369 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[a]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L370" class="LineNr"> 370 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L371" class="LineNr"> 371 </span> assume-console [ <span id="L372" class="LineNr"> 372 </span> <span class="Conceal">¦</span> type <span class="Constant">[012]</span> @@ -493,7 +493,7 @@ if ('onhashchange' in window) { <span id="L430" class="LineNr"> 430 </span> <span class="Constant">local-scope</span> <span id="L431" class="LineNr"> 431 </span> <span class="Comment"># create an editor, type something, undo</span> <span id="L432" class="LineNr"> 432 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L433" class="LineNr"> 433 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L433" class="LineNr"> 433 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L434" class="LineNr"> 434 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L435" class="LineNr"> 435 </span> assume-console [ <span id="L436" class="LineNr"> 436 </span> <span class="Conceal">¦</span> type <span class="Constant">[012]</span> @@ -542,7 +542,7 @@ if ('onhashchange' in window) { <span id="L479" class="LineNr"> 479 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L480" class="LineNr"> 480 </span><span class="Constant">def</span> <span id="L481" class="LineNr"> 481 </span><span class="Constant">ghi]</span> -<span id="L482" class="LineNr"> 482 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L482" class="LineNr"> 482 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L483" class="LineNr"> 483 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L484" class="LineNr"> 484 </span> assume-console [ <span id="L485" class="LineNr"> 485 </span> <span class="Conceal">¦</span> type <span class="Constant">[1]</span> @@ -582,7 +582,7 @@ if ('onhashchange' in window) { <span id="L519" class="LineNr"> 519 </span> <span class="Constant">local-scope</span> <span id="L520" class="LineNr"> 520 </span> <span class="Comment"># create an editor</span> <span id="L521" class="LineNr"> 521 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L522" class="LineNr"> 522 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L522" class="LineNr"> 522 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L523" class="LineNr"> 523 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L524" class="LineNr"> 524 </span> <span class="Comment"># insert some text and tabs, hit enter, some more text and tabs</span> <span id="L525" class="LineNr"> 525 </span> assume-console [ @@ -742,7 +742,7 @@ if ('onhashchange' in window) { <span id="L679" class="LineNr"> 679 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L680" class="LineNr"> 680 </span><span class="Constant">def</span> <span id="L681" class="LineNr"> 681 </span><span class="Constant">ghi]</span> -<span id="L682" class="LineNr"> 682 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L682" class="LineNr"> 682 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L683" class="LineNr"> 683 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L684" class="LineNr"> 684 </span> <span class="Comment"># move the cursor</span> <span id="L685" class="LineNr"> 685 </span> assume-console [ @@ -834,7 +834,7 @@ if ('onhashchange' in window) { <span id="L771" class="LineNr"> 771 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[a</span> <span id="L772" class="LineNr"> 772 </span><span class="Constant">b</span> <span id="L773" class="LineNr"> 773 </span><span class="Constant">cdefgh]</span> -<span id="L774" class="LineNr"> 774 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">5/right</span> +<span id="L774" class="LineNr"> 774 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">5/right</span> <span id="L775" class="LineNr"> 775 </span> <span class="Comment"># position cursor at end of screen and try to move right</span> <span id="L776" class="LineNr"> 776 </span> assume-console [ <span id="L777" class="LineNr"> 777 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 3</span> @@ -897,7 +897,7 @@ if ('onhashchange' in window) { <span id="L834" class="LineNr"> 834 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L835" class="LineNr"> 835 </span><span class="Constant">def</span> <span id="L836" class="LineNr"> 836 </span><span class="Constant">ghi]</span> -<span id="L837" class="LineNr"> 837 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L837" class="LineNr"> 837 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L838" class="LineNr"> 838 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L839" class="LineNr"> 839 </span> <span class="Comment"># move the cursor</span> <span id="L840" class="LineNr"> 840 </span> assume-console [ @@ -942,7 +942,7 @@ if ('onhashchange' in window) { <span id="L879" class="LineNr"> 879 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L880" class="LineNr"> 880 </span><span class="Constant">def</span> <span id="L881" class="LineNr"> 881 </span><span class="Constant">ghi]</span> -<span id="L882" class="LineNr"> 882 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L882" class="LineNr"> 882 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L883" class="LineNr"> 883 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L884" class="LineNr"> 884 </span> <span class="Comment"># move the cursor</span> <span id="L885" class="LineNr"> 885 </span> assume-console [ @@ -993,7 +993,7 @@ if ('onhashchange' in window) { <span id="L930" class="LineNr"> 930 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L931" class="LineNr"> 931 </span><span class="Constant">def</span> <span id="L932" class="LineNr"> 932 </span><span class="Constant">ghi]</span> -<span id="L933" class="LineNr"> 933 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L933" class="LineNr"> 933 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L934" class="LineNr"> 934 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L935" class="LineNr"> 935 </span> <span class="Comment"># move the cursor</span> <span id="L936" class="LineNr"> 936 </span> assume-console [ @@ -1041,7 +1041,7 @@ if ('onhashchange' in window) { <span id="L978" class="LineNr"> 978 </span><span class="Constant">d</span> <span id="L979" class="LineNr"> 979 </span><span class="Constant">e</span> <span id="L980" class="LineNr"> 980 </span><span class="Constant">f]</span> -<span id="L981" class="LineNr"> 981 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L981" class="LineNr"> 981 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L982" class="LineNr"> 982 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L983" class="LineNr"> 983 </span> <span class="Comment"># scroll the page</span> <span id="L984" class="LineNr"> 984 </span> assume-console [ @@ -1075,7 +1075,7 @@ if ('onhashchange' in window) { <span id="L1012" class="LineNr">1012 </span><span class="Constant">d</span> <span id="L1013" class="LineNr">1013 </span><span class="Constant">e</span> <span id="L1014" class="LineNr">1014 </span><span class="Constant">f]</span> -<span id="L1015" class="LineNr">1015 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1015" class="LineNr">1015 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1016" class="LineNr">1016 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1017" class="LineNr">1017 </span> <span class="Comment"># scroll the page</span> <span id="L1018" class="LineNr">1018 </span> assume-console [ @@ -1109,7 +1109,7 @@ if ('onhashchange' in window) { <span id="L1046" class="LineNr">1046 </span><span class="Constant">d</span> <span id="L1047" class="LineNr">1047 </span><span class="Constant">e</span> <span id="L1048" class="LineNr">1048 </span><span class="Constant">f]</span> -<span id="L1049" class="LineNr">1049 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1049" class="LineNr">1049 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1050" class="LineNr">1050 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1051" class="LineNr">1051 </span> <span class="Comment"># scroll the page down and up</span> <span id="L1052" class="LineNr">1052 </span> assume-console [ @@ -1144,7 +1144,7 @@ if ('onhashchange' in window) { <span id="L1081" class="LineNr">1081 </span><span class="Constant">d</span> <span id="L1082" class="LineNr">1082 </span><span class="Constant">e</span> <span id="L1083" class="LineNr">1083 </span><span class="Constant">f]</span> -<span id="L1084" class="LineNr">1084 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1084" class="LineNr">1084 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1085" class="LineNr">1085 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1086" class="LineNr">1086 </span> <span class="Comment"># scroll the page down and up</span> <span id="L1087" class="LineNr">1087 </span> assume-console [ @@ -1176,7 +1176,7 @@ if ('onhashchange' in window) { <span id="L1113" class="LineNr">1113 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1114" class="LineNr">1114 </span><span class="Constant">def</span> <span id="L1115" class="LineNr">1115 </span><span class="Constant">ghi]</span> -<span id="L1116" class="LineNr">1116 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1116" class="LineNr">1116 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1117" class="LineNr">1117 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1118" class="LineNr">1118 </span> <span class="Comment"># move the cursor, then to start of line</span> <span id="L1119" class="LineNr">1119 </span> assume-console [ @@ -1221,7 +1221,7 @@ if ('onhashchange' in window) { <span id="L1158" class="LineNr">1158 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1159" class="LineNr">1159 </span><span class="Constant">def</span> <span id="L1160" class="LineNr">1160 </span><span class="Constant">ghi]</span> -<span id="L1161" class="LineNr">1161 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1161" class="LineNr">1161 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1162" class="LineNr">1162 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1163" class="LineNr">1163 </span> <span class="Comment"># move the cursor, then to start of line</span> <span id="L1164" class="LineNr">1164 </span> assume-console [ @@ -1266,7 +1266,7 @@ if ('onhashchange' in window) { <span id="L1203" class="LineNr">1203 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1204" class="LineNr">1204 </span><span class="Constant">def</span> <span id="L1205" class="LineNr">1205 </span><span class="Constant">ghi]</span> -<span id="L1206" class="LineNr">1206 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1206" class="LineNr">1206 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1207" class="LineNr">1207 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1208" class="LineNr">1208 </span> <span class="Comment"># move the cursor, then to start of line</span> <span id="L1209" class="LineNr">1209 </span> assume-console [ @@ -1311,7 +1311,7 @@ if ('onhashchange' in window) { <span id="L1248" class="LineNr">1248 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1249" class="LineNr">1249 </span><span class="Constant">def</span> <span id="L1250" class="LineNr">1250 </span><span class="Constant">ghi]</span> -<span id="L1251" class="LineNr">1251 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1251" class="LineNr">1251 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1252" class="LineNr">1252 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1253" class="LineNr">1253 </span> <span class="Comment"># move the cursor, then to start of line</span> <span id="L1254" class="LineNr">1254 </span> assume-console [ @@ -1356,7 +1356,7 @@ if ('onhashchange' in window) { <span id="L1293" class="LineNr">1293 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1294" class="LineNr">1294 </span><span class="Constant">def</span> <span id="L1295" class="LineNr">1295 </span><span class="Constant">ghi]</span> -<span id="L1296" class="LineNr">1296 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1296" class="LineNr">1296 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1297" class="LineNr">1297 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1298" class="LineNr">1298 </span> <span class="Comment"># move the cursor</span> <span id="L1299" class="LineNr">1299 </span> assume-console [ @@ -1411,7 +1411,7 @@ if ('onhashchange' in window) { <span id="L1348" class="LineNr">1348 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1349" class="LineNr">1349 </span><span class="Constant">def</span> <span id="L1350" class="LineNr">1350 </span><span class="Constant">ghi]</span> -<span id="L1351" class="LineNr">1351 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1351" class="LineNr">1351 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1352" class="LineNr">1352 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1353" class="LineNr">1353 </span> assume-console [ <span id="L1354" class="LineNr">1354 </span> <span class="Conceal">¦</span> left-click<span class="Constant"> 3</span>,<span class="Constant"> 1</span> @@ -1466,7 +1466,7 @@ if ('onhashchange' in window) { <span id="L1403" class="LineNr">1403 </span> <span class="Constant">local-scope</span> <span id="L1404" class="LineNr">1404 </span> <span class="Comment"># create an editor, type some text, move the cursor, type some more text</span> <span id="L1405" class="LineNr">1405 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L1406" class="LineNr">1406 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1406" class="LineNr">1406 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1407" class="LineNr">1407 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1408" class="LineNr">1408 </span> assume-console [ <span id="L1409" class="LineNr">1409 </span> <span class="Conceal">¦</span> type <span class="Constant">[abc]</span> @@ -1615,7 +1615,7 @@ if ('onhashchange' in window) { <span id="L1552" class="LineNr">1552 </span> <span class="Constant">local-scope</span> <span id="L1553" class="LineNr">1553 </span> <span class="Comment"># create an editor</span> <span id="L1554" class="LineNr">1554 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L1555" class="LineNr">1555 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1555" class="LineNr">1555 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1556" class="LineNr">1556 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1557" class="LineNr">1557 </span> <span class="Comment"># insert some text and hit backspace</span> <span id="L1558" class="LineNr">1558 </span> assume-console [ @@ -1760,7 +1760,7 @@ if ('onhashchange' in window) { <span id="L1697" class="LineNr">1697 </span> <span class="Constant">local-scope</span> <span id="L1698" class="LineNr">1698 </span> <span class="Comment"># create an editor</span> <span id="L1699" class="LineNr">1699 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L1700" class="LineNr">1700 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1700" class="LineNr">1700 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1701" class="LineNr">1701 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1702" class="LineNr">1702 </span> <span class="Comment"># insert some text and hit delete and backspace a few times</span> <span id="L1703" class="LineNr">1703 </span> assume-console [ @@ -1951,7 +1951,7 @@ if ('onhashchange' in window) { <span id="L1888" class="LineNr">1888 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> <span id="L1889" class="LineNr">1889 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1890" class="LineNr">1890 </span><span class="Constant">def]</span> -<span id="L1891" class="LineNr">1891 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1891" class="LineNr">1891 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1892" class="LineNr">1892 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1893" class="LineNr">1893 </span> <span class="Comment"># insert some text and hit delete and backspace a few times</span> <span id="L1894" class="LineNr">1894 </span> assume-console [ @@ -2054,7 +2054,7 @@ if ('onhashchange' in window) { <span id="L1991" class="LineNr">1991 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> <span id="L1992" class="LineNr">1992 </span> contents:text <span class="Special"><-</span> new <span class="Constant">[abc</span> <span id="L1993" class="LineNr">1993 </span><span class="Constant">def]</span> -<span id="L1994" class="LineNr">1994 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L1994" class="LineNr">1994 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> contents, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L1995" class="LineNr">1995 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L1996" class="LineNr">1996 </span> <span class="Comment"># insert some text and hit delete and backspace a few times</span> <span id="L1997" class="LineNr">1997 </span> assume-console [ @@ -2154,7 +2154,7 @@ if ('onhashchange' in window) { <span id="L2091" class="LineNr">2091 </span> <span class="Constant">local-scope</span> <span id="L2092" class="LineNr">2092 </span> <span class="Comment"># create an editor</span> <span id="L2093" class="LineNr">2093 </span> assume-screen <span class="Constant">10/width</span>, <span class="Constant">5/height</span> -<span id="L2094" class="LineNr">2094 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L52'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> +<span id="L2094" class="LineNr">2094 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L50'>new-editor</a> <span class="Constant">[]</span>, <span class="Constant">0/left</span>, <span class="Constant">10/right</span> <span id="L2095" class="LineNr">2095 </span> <a href='002-typing.mu.html#L263'>editor-render</a> <a href='../081print.mu.html#L4'>screen</a>, e <span id="L2096" class="LineNr">2096 </span> <span class="Comment"># insert some text and hit delete and backspace a few times</span> <span id="L2097" class="LineNr">2097 </span> assume-console [ |