diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-12-03 23:25:40 -0800 |
commit | 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 (patch) | |
tree | 85c1b7310cca932797d727a3de8da96eb175d8da /html/edit/003-shortcuts.mu.html | |
parent | ef7d834fdd826977cd8d43253052a7b8e1c5aa72 (diff) | |
download | mu-4a48bedcd1d708a43d43dc6259a4e45c52ea3d00.tar.gz |
4134 - 'input' = 'ingredient'
Diffstat (limited to 'html/edit/003-shortcuts.mu.html')
-rw-r--r-- | html/edit/003-shortcuts.mu.html | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/html/edit/003-shortcuts.mu.html b/html/edit/003-shortcuts.mu.html index 4d24c08d..68459fda 100644 --- a/html/edit/003-shortcuts.mu.html +++ b/html/edit/003-shortcuts.mu.html @@ -170,7 +170,7 @@ if ('onhashchange' in window) { <span id="L108" class="LineNr"> 108 </span><span class="Comment"># backspaced-cell - value deleted (or 0 if nothing was deleted) so we can save it for undo, etc.</span> <span id="L109" class="LineNr"> 109 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L109'>delete-before-cursor</a> editor:&:editor, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a><span class="muRecipe"> -> </span>go-render?:bool, backspaced-cell:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, editor:&:editor, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L110" class="LineNr"> 110 </span> <span class="Constant">local-scope</span> -<span id="L111" class="LineNr"> 111 </span> <span class="Constant">load-ingredients</span> +<span id="L111" class="LineNr"> 111 </span> <span class="Constant">load-inputs</span> <span id="L112" class="LineNr"> 112 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L113" class="LineNr"> 113 </span> data:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">data:offset</span> <span id="L114" class="LineNr"> 114 </span> <span class="Comment"># if at start of text (before-cursor at § sentinel), return</span> @@ -217,7 +217,7 @@ if ('onhashchange' in window) { <span id="L155" class="LineNr"> 155 </span> <span id="L156" class="LineNr"> 156 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L156'>move-cursor-coordinates-left</a> editor:&:editor<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L157" class="LineNr"> 157 </span> <span class="Constant">local-scope</span> -<span id="L158" class="LineNr"> 158 </span> <span class="Constant">load-ingredients</span> +<span id="L158" class="LineNr"> 158 </span> <span class="Constant">load-inputs</span> <span id="L159" class="LineNr"> 159 </span> go-render?:bool <span class="Special"><-</span> copy <span class="Constant">0/false</span> <span id="L160" class="LineNr"> 160 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L161" class="LineNr"> 161 </span> cursor-row:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-row:offset</span> @@ -280,7 +280,7 @@ if ('onhashchange' in window) { <span id="L218" class="LineNr"> 218 </span><span class="Comment"># the length of the previous line before the 'curr' pointer.</span> <span id="L219" class="LineNr"> 219 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L219'>previous-line-length</a> curr:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, start:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char<span class="muRecipe"> -> </span>result:num [ <span id="L220" class="LineNr"> 220 </span> <span class="Constant">local-scope</span> -<span id="L221" class="LineNr"> 221 </span> <span class="Constant">load-ingredients</span> +<span id="L221" class="LineNr"> 221 </span> <span class="Constant">load-inputs</span> <span id="L222" class="LineNr"> 222 </span> result:num <span class="Special"><-</span> copy<span class="Constant"> 0</span> <span id="L223" class="LineNr"> 223 </span> <span class="muControl">return-unless</span> curr <span id="L224" class="LineNr"> 224 </span> at-start?:bool <span class="Special"><-</span> equal curr, start @@ -434,7 +434,7 @@ if ('onhashchange' in window) { <span id="L372" class="LineNr"> 372 </span> <span id="L373" class="LineNr"> 373 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L373'>delete-at-cursor</a> editor:&:editor, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a><span class="muRecipe"> -> </span>go-render?:bool, deleted-cell:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, editor:&:editor, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L374" class="LineNr"> 374 </span> <span class="Constant">local-scope</span> -<span id="L375" class="LineNr"> 375 </span> <span class="Constant">load-ingredients</span> +<span id="L375" class="LineNr"> 375 </span> <span class="Constant">load-inputs</span> <span id="L376" class="LineNr"> 376 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L377" class="LineNr"> 377 </span> data:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">data:offset</span> <span id="L378" class="LineNr"> 378 </span> deleted-cell:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L25'>next</a> before-cursor @@ -514,7 +514,7 @@ if ('onhashchange' in window) { <span id="L452" class="LineNr"> 452 </span> <span id="L453" class="LineNr"> 453 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L453'>move-cursor-coordinates-right</a> editor:&:editor, <a href='../081print.mu.html#L782'>screen-height</a>:num<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L454" class="LineNr"> 454 </span> <span class="Constant">local-scope</span> -<span id="L455" class="LineNr"> 455 </span> <span class="Constant">load-ingredients</span> +<span id="L455" class="LineNr"> 455 </span> <span class="Constant">load-inputs</span> <span id="L456" class="LineNr"> 456 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor <span class="Constant">before-cursor:offset</span> <span id="L457" class="LineNr"> 457 </span> cursor-row:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-row:offset</span> <span id="L458" class="LineNr"> 458 </span> cursor-column:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> @@ -1061,7 +1061,7 @@ if ('onhashchange' in window) { <span id="L999" class="LineNr"> 999 </span> <span id="L1000" class="LineNr">1000 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L1000'>move-to-previous-line</a> editor:&:editor<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L1001" class="LineNr">1001 </span> <span class="Constant">local-scope</span> -<span id="L1002" class="LineNr">1002 </span> <span class="Constant">load-ingredients</span> +<span id="L1002" class="LineNr">1002 </span> <span class="Constant">load-inputs</span> <span id="L1003" class="LineNr">1003 </span> go-render?:bool <span class="Special"><-</span> copy <span class="Constant">0/false</span> <span id="L1004" class="LineNr">1004 </span> cursor-row:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-row:offset</span> <span id="L1005" class="LineNr">1005 </span> cursor-column:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> @@ -1415,7 +1415,7 @@ if ('onhashchange' in window) { <span id="L1353" class="LineNr">1353 </span> <span id="L1354" class="LineNr">1354 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L1354'>move-to-next-line</a> editor:&:editor, <a href='../081print.mu.html#L782'>screen-height</a>:num<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L1355" class="LineNr">1355 </span> <span class="Constant">local-scope</span> -<span id="L1356" class="LineNr">1356 </span> <span class="Constant">load-ingredients</span> +<span id="L1356" class="LineNr">1356 </span> <span class="Constant">load-inputs</span> <span id="L1357" class="LineNr">1357 </span> cursor-row:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-row:offset</span> <span id="L1358" class="LineNr">1358 </span> cursor-column:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> <span id="L1359" class="LineNr">1359 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> @@ -1626,7 +1626,7 @@ if ('onhashchange' in window) { <span id="L1564" class="LineNr">1564 </span><span class="Comment"># precondition: cursor-column should be in a consistent state</span> <span id="L1565" class="LineNr">1565 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L1565'>move-to-start-of-screen-line</a> editor:&:editor<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L1566" class="LineNr">1566 </span> <span class="Constant">local-scope</span> -<span id="L1567" class="LineNr">1567 </span> <span class="Constant">load-ingredients</span> +<span id="L1567" class="LineNr">1567 </span> <span class="Constant">load-inputs</span> <span id="L1568" class="LineNr">1568 </span> <span class="Comment"># update cursor column</span> <span id="L1569" class="LineNr">1569 </span> left:num <span class="Special"><-</span> get *editor, <span class="Constant">left:offset</span> <span id="L1570" class="LineNr">1570 </span> col:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> @@ -1849,7 +1849,7 @@ if ('onhashchange' in window) { <span id="L1787" class="LineNr">1787 </span> <span id="L1788" class="LineNr">1788 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L1788'>move-to-end-of-line</a> editor:&:editor<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L1789" class="LineNr">1789 </span> <span class="Constant">local-scope</span> -<span id="L1790" class="LineNr">1790 </span> <span class="Constant">load-ingredients</span> +<span id="L1790" class="LineNr">1790 </span> <span class="Constant">load-inputs</span> <span id="L1791" class="LineNr">1791 </span> before-cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L1792" class="LineNr">1792 </span> cursor-column:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> <span id="L1793" class="LineNr">1793 </span> right:num <span class="Special"><-</span> get *editor, <span class="Constant">right:offset</span> @@ -2032,7 +2032,7 @@ if ('onhashchange' in window) { <span id="L1970" class="LineNr">1970 </span> <span id="L1971" class="LineNr">1971 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L1971'>minimal-render-for-ctrl-u</a> <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, editor:&:editor, deleted-cells:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char<span class="muRecipe"> -> </span>go-render?:bool, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L1972" class="LineNr">1972 </span> <span class="Constant">local-scope</span> -<span id="L1973" class="LineNr">1973 </span> <span class="Constant">load-ingredients</span> +<span id="L1973" class="LineNr">1973 </span> <span class="Constant">load-inputs</span> <span id="L1974" class="LineNr">1974 </span> curr-column:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-column:offset</span> <span id="L1975" class="LineNr">1975 </span> <span class="Comment"># accumulate the current line as text and render it</span> <span id="L1976" class="LineNr">1976 </span> buf:&:<a href='../061text.mu.html#L120'>buffer</a>:char <span class="Special"><-</span> <a href='../061text.mu.html#L125'>new-buffer</a><span class="Constant"> 30</span> <span class="Comment"># accumulator for the text we need to render</span> @@ -2067,7 +2067,7 @@ if ('onhashchange' in window) { <span id="L2005" class="LineNr">2005 </span> <span id="L2006" class="LineNr">2006 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L2006'>delete-to-start-of-line</a> editor:&:editor<span class="muRecipe"> -> </span>result:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, editor:&:editor [ <span id="L2007" class="LineNr">2007 </span> <span class="Constant">local-scope</span> -<span id="L2008" class="LineNr">2008 </span> <span class="Constant">load-ingredients</span> +<span id="L2008" class="LineNr">2008 </span> <span class="Constant">load-inputs</span> <span id="L2009" class="LineNr">2009 </span> <span class="Comment"># compute range to delete</span> <span id="L2010" class="LineNr">2010 </span> init:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">data:offset</span> <span id="L2011" class="LineNr">2011 </span> top-of-screen:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">top-of-screen:offset</span> @@ -2123,7 +2123,7 @@ if ('onhashchange' in window) { <span id="L2061" class="LineNr">2061 </span> <span id="L2062" class="LineNr">2062 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L2062'>render-code</a> <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, s:text, left:num, right:num, row:num<span class="muRecipe"> -> </span>row:num, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L2063" class="LineNr">2063 </span> <span class="Constant">local-scope</span> -<span id="L2064" class="LineNr">2064 </span> <span class="Constant">load-ingredients</span> +<span id="L2064" class="LineNr">2064 </span> <span class="Constant">load-inputs</span> <span id="L2065" class="LineNr">2065 </span> <span class="muControl">return-unless</span> s <span id="L2066" class="LineNr">2066 </span> color:num <span class="Special"><-</span> copy <span class="Constant">7/white</span> <span id="L2067" class="LineNr">2067 </span> column:num <span class="Special"><-</span> copy left @@ -2610,7 +2610,7 @@ if ('onhashchange' in window) { <span id="L2548" class="LineNr">2548 </span> <span id="L2549" class="LineNr">2549 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L2549'>minimal-render-for-ctrl-k</a> <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, editor:&:editor, deleted-cells:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char<span class="muRecipe"> -> </span>go-render?:bool, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L2550" class="LineNr">2550 </span> <span class="Constant">local-scope</span> -<span id="L2551" class="LineNr">2551 </span> <span class="Constant">load-ingredients</span> +<span id="L2551" class="LineNr">2551 </span> <span class="Constant">load-inputs</span> <span id="L2552" class="LineNr">2552 </span> <span class="Comment"># if we deleted nothing, there's nothing to render</span> <span id="L2553" class="LineNr">2553 </span> <span class="muControl">return-unless</span> deleted-cells, <span class="Constant">0/dont-render</span> <span id="L2554" class="LineNr">2554 </span> <span class="Comment"># if the line used to wrap before, give up and render the whole screen</span> @@ -2628,7 +2628,7 @@ if ('onhashchange' in window) { <span id="L2566" class="LineNr">2566 </span> <span id="L2567" class="LineNr">2567 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L2567'>delete-to-end-of-line</a> editor:&:editor<span class="muRecipe"> -> </span>result:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, editor:&:editor [ <span id="L2568" class="LineNr">2568 </span> <span class="Constant">local-scope</span> -<span id="L2569" class="LineNr">2569 </span> <span class="Constant">load-ingredients</span> +<span id="L2569" class="LineNr">2569 </span> <span class="Constant">load-inputs</span> <span id="L2570" class="LineNr">2570 </span> <span class="Comment"># compute range to delete</span> <span id="L2571" class="LineNr">2571 </span> start:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L2572" class="LineNr">2572 </span> end:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L25'>next</a> start @@ -2865,7 +2865,7 @@ if ('onhashchange' in window) { <span id="L2803" class="LineNr">2803 </span><span class="Comment"># Beware: never return null pointer.</span> <span id="L2804" class="LineNr">2804 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L2804'>before-start-of-next-line</a> original:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, max:num<span class="muRecipe"> -> </span>curr:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char [ <span id="L2805" class="LineNr">2805 </span> <span class="Constant">local-scope</span> -<span id="L2806" class="LineNr">2806 </span> <span class="Constant">load-ingredients</span> +<span id="L2806" class="LineNr">2806 </span> <span class="Constant">load-inputs</span> <span id="L2807" class="LineNr">2807 </span> count:num <span class="Special"><-</span> copy<span class="Constant"> 0</span> <span id="L2808" class="LineNr">2808 </span> curr:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> copy original <span id="L2809" class="LineNr">2809 </span> <span class="Comment"># skip the initial newline if it exists</span> @@ -3236,7 +3236,7 @@ if ('onhashchange' in window) { <span id="L3174" class="LineNr">3174 </span><span class="Comment"># Beware: never return null pointer.</span> <span id="L3175" class="LineNr">3175 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L3175'>before-previous-screen-line</a> in:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char, editor:&:editor<span class="muRecipe"> -> </span>out:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char [ <span id="L3176" class="LineNr">3176 </span> <span class="Constant">local-scope</span> -<span id="L3177" class="LineNr">3177 </span> <span class="Constant">load-ingredients</span> +<span id="L3177" class="LineNr">3177 </span> <span class="Constant">load-inputs</span> <span id="L3178" class="LineNr">3178 </span> curr:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> copy in <span id="L3179" class="LineNr">3179 </span> c:char <span class="Special"><-</span> get *curr, <span class="Constant">value:offset</span> <span id="L3180" class="LineNr">3180 </span> <span class="Comment"># compute max, number of characters to skip</span> @@ -3658,7 +3658,7 @@ if ('onhashchange' in window) { <span id="L3596" class="LineNr">3596 </span><span class="Comment"># taking up the entire screen</span> <span id="L3597" class="LineNr">3597 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L3597'>page-down</a> editor:&:editor<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L3598" class="LineNr">3598 </span> <span class="Constant">local-scope</span> -<span id="L3599" class="LineNr">3599 </span> <span class="Constant">load-ingredients</span> +<span id="L3599" class="LineNr">3599 </span> <span class="Constant">load-inputs</span> <span id="L3600" class="LineNr">3600 </span> <span class="Comment"># if editor contents don't overflow screen, do nothing</span> <span id="L3601" class="LineNr">3601 </span> bottom-of-screen:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">bottom-of-screen:offset</span> <span id="L3602" class="LineNr">3602 </span> <span class="muControl">return-unless</span> bottom-of-screen @@ -3683,7 +3683,7 @@ if ('onhashchange' in window) { <span id="L3621" class="LineNr">3621 </span><span class="Comment"># jump to previous newline</span> <span id="L3622" class="LineNr">3622 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L3622'>move-to-start-of-line</a> editor:&:editor<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L3623" class="LineNr">3623 </span> <span class="Constant">local-scope</span> -<span id="L3624" class="LineNr">3624 </span> <span class="Constant">load-ingredients</span> +<span id="L3624" class="LineNr">3624 </span> <span class="Constant">load-inputs</span> <span id="L3625" class="LineNr">3625 </span> <span class="Comment"># update cursor column</span> <span id="L3626" class="LineNr">3626 </span> left:num <span class="Special"><-</span> get *editor, <span class="Constant">left:offset</span> <span id="L3627" class="LineNr">3627 </span> cursor-column:num <span class="Special"><-</span> copy left @@ -3881,7 +3881,7 @@ if ('onhashchange' in window) { <span id="L3819" class="LineNr">3819 </span> <span id="L3820" class="LineNr">3820 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L3820'>page-up</a> editor:&:editor, <a href='../081print.mu.html#L782'>screen-height</a>:num<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L3821" class="LineNr">3821 </span> <span class="Constant">local-scope</span> -<span id="L3822" class="LineNr">3822 </span> <span class="Constant">load-ingredients</span> +<span id="L3822" class="LineNr">3822 </span> <span class="Constant">load-inputs</span> <span id="L3823" class="LineNr">3823 </span> max:num <span class="Special"><-</span> subtract <a href='../081print.mu.html#L782'>screen-height</a>, <span class="Constant">1/menu-bar</span>, <span class="Constant">1/overlapping-line</span> <span id="L3824" class="LineNr">3824 </span> count:num <span class="Special"><-</span> copy<span class="Constant"> 0</span> <span id="L3825" class="LineNr">3825 </span> top-of-screen:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">top-of-screen:offset</span> @@ -4210,7 +4210,7 @@ if ('onhashchange' in window) { <span id="L4148" class="LineNr">4148 </span> <span id="L4149" class="LineNr">4149 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L4149'>line-up</a> editor:&:editor, <a href='../081print.mu.html#L782'>screen-height</a>:num<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L4150" class="LineNr">4150 </span> <span class="Constant">local-scope</span> -<span id="L4151" class="LineNr">4151 </span> <span class="Constant">load-ingredients</span> +<span id="L4151" class="LineNr">4151 </span> <span class="Constant">load-inputs</span> <span id="L4152" class="LineNr">4152 </span> left:num <span class="Special"><-</span> get *editor, <span class="Constant">left:offset</span> <span id="L4153" class="LineNr">4153 </span> right:num <span class="Special"><-</span> get *editor, <span class="Constant">right:offset</span> <span id="L4154" class="LineNr">4154 </span> max:num <span class="Special"><-</span> subtract right, left @@ -4241,7 +4241,7 @@ if ('onhashchange' in window) { <span id="L4179" class="LineNr">4179 </span> <span id="L4180" class="LineNr">4180 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L4180'>line-down</a> editor:&:editor, <a href='../081print.mu.html#L782'>screen-height</a>:num<span class="muRecipe"> -> </span>go-render?:bool, editor:&:editor [ <span id="L4181" class="LineNr">4181 </span> <span class="Constant">local-scope</span> -<span id="L4182" class="LineNr">4182 </span> <span class="Constant">load-ingredients</span> +<span id="L4182" class="LineNr">4182 </span> <span class="Constant">load-inputs</span> <span id="L4183" class="LineNr">4183 </span> old-top:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">top-of-screen:offset</span> <span id="L4184" class="LineNr">4184 </span> new-top:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='003-shortcuts.mu.html#L3175'>before-previous-screen-line</a> old-top, editor <span id="L4185" class="LineNr">4185 </span> movement?:bool <span class="Special"><-</span> not-equal old-top, new-top @@ -4311,7 +4311,7 @@ if ('onhashchange' in window) { <span id="L4249" class="LineNr">4249 </span><span class="Comment"># the caller to go-render? the entire screen.</span> <span id="L4250" class="LineNr">4250 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L4250'>render-line-from-start</a> <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, editor:&:editor, right-margin:num<span class="muRecipe"> -> </span>go-render?:bool, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a> [ <span id="L4251" class="LineNr">4251 </span> <span class="Constant">local-scope</span> -<span id="L4252" class="LineNr">4252 </span> <span class="Constant">load-ingredients</span> +<span id="L4252" class="LineNr">4252 </span> <span class="Constant">load-inputs</span> <span id="L4253" class="LineNr">4253 </span> before-line-start:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='003-shortcuts.mu.html#L4280'>before-start-of-screen-line</a> editor <span id="L4254" class="LineNr">4254 </span> line-start:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L25'>next</a> before-line-start <span id="L4255" class="LineNr">4255 </span> color:num <span class="Special"><-</span> copy <span class="Constant">7/white</span> @@ -4341,7 +4341,7 @@ if ('onhashchange' in window) { <span id="L4279" class="LineNr">4279 </span> <span id="L4280" class="LineNr">4280 </span><span class="muRecipe">def</span> <a href='003-shortcuts.mu.html#L4280'>before-start-of-screen-line</a> editor:&:editor<span class="muRecipe"> -> </span>result:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char [ <span id="L4281" class="LineNr">4281 </span> <span class="Constant">local-scope</span> -<span id="L4282" class="LineNr">4282 </span> <span class="Constant">load-ingredients</span> +<span id="L4282" class="LineNr">4282 </span> <span class="Constant">load-inputs</span> <span id="L4283" class="LineNr">4283 </span> cursor:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> <span id="L4284" class="LineNr">4284 </span> <span class="Delimiter">{</span> <span id="L4285" class="LineNr">4285 </span> <span class="Conceal">¦</span> <a href='../065duplex_list.mu.html#L25'>next</a>:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L25'>next</a> cursor |