diff options
Diffstat (limited to 'html/edit')
-rw-r--r-- | html/edit/003-shortcuts.mu.html | 4 | ||||
-rw-r--r-- | html/edit/005-sandbox.mu.html | 4 | ||||
-rw-r--r-- | html/edit/011-errors.mu.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/html/edit/003-shortcuts.mu.html b/html/edit/003-shortcuts.mu.html index bd31740a..1cb4f6a3 100644 --- a/html/edit/003-shortcuts.mu.html +++ b/html/edit/003-shortcuts.mu.html @@ -2035,7 +2035,7 @@ if ('onhashchange' in window) { <span id="L1973" class="LineNr">1973 </span> <span class="Constant">load-ingredients</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#L126'>buffer</a>:char <span class="Special"><-</span> <a href='../061text.mu.html#L131'>new-buffer</a><span class="Constant"> 30</span> <span class="Comment"># accumulator for the text we need to render</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> <span id="L1977" class="LineNr">1977 </span> curr:&:<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="L1978" class="LineNr">1978 </span> i:num <span class="Special"><-</span> copy curr-column <span id="L1979" class="LineNr">1979 </span> right:num <span class="Special"><-</span> get *editor, <span class="Constant">right:offset</span> @@ -2059,7 +2059,7 @@ if ('onhashchange' in window) { <span id="L1997" class="LineNr">1997 </span> end:num <span class="Special"><-</span> subtract right, left <span id="L1998" class="LineNr">1998 </span> wrap?:bool <span class="Special"><-</span> greater-or-equal old-row-len, end <span id="L1999" class="LineNr">1999 </span> <span class="muControl">return-if</span> wrap?, <span class="Constant">1/go-render</span> -<span id="L2000" class="LineNr">2000 </span> curr-line:text <span class="Special"><-</span> <a href='../061text.mu.html#L344'>buffer-to-array</a> buf +<span id="L2000" class="LineNr">2000 </span> curr-line:text <span class="Special"><-</span> <a href='../061text.mu.html#L338'>buffer-to-array</a> buf <span id="L2001" class="LineNr">2001 </span> curr-row:num <span class="Special"><-</span> get *editor, <span class="Constant">cursor-row:offset</span> <span id="L2002" class="LineNr">2002 </span> <a href='003-shortcuts.mu.html#L2062'>render-code</a> <a href='../081print.mu.html#L16'>screen</a>, curr-line, curr-column, right, curr-row <span id="L2003" class="LineNr">2003 </span> <span class="muControl">return</span> <span class="Constant">0/dont-render</span> diff --git a/html/edit/005-sandbox.mu.html b/html/edit/005-sandbox.mu.html index b48c7e40..5272c8bd 100644 --- a/html/edit/005-sandbox.mu.html +++ b/html/edit/005-sandbox.mu.html @@ -746,7 +746,7 @@ if ('onhashchange' in window) { <span id="L683" class="LineNr"> 683 </span><span class="muRecipe">def</span> <a href='005-sandbox.mu.html#L683'>editor-contents</a> editor:&:editor<span class="muRecipe"> -> </span>result:text [ <span id="L684" class="LineNr"> 684 </span> <span class="Constant">local-scope</span> <span id="L685" class="LineNr"> 685 </span> <span class="Constant">load-ingredients</span> -<span id="L686" class="LineNr"> 686 </span> buf:&:<a href='../061text.mu.html#L126'>buffer</a>:char <span class="Special"><-</span> <a href='../061text.mu.html#L131'>new-buffer</a><span class="Constant"> 80</span> +<span id="L686" class="LineNr"> 686 </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"> 80</span> <span id="L687" class="LineNr"> 687 </span> curr:&:<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="L688" class="LineNr"> 688 </span> <span class="Comment"># skip § sentinel</span> <span id="L689" class="LineNr"> 689 </span> assert curr, <span class="Constant">[editor without data is illegal; must have at least a sentinel]</span> @@ -759,7 +759,7 @@ if ('onhashchange' in window) { <span id="L696" class="LineNr"> 696 </span> <span class="Conceal">¦</span> curr <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L29'>next</a> curr <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#L344'>buffer-to-array</a> buf +<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>] <span id="L701" class="LineNr"> 701 </span> <span id="L702" class="LineNr"> 702 </span><span class="muScenario">scenario</span> editor-provides-edited-contents [ diff --git a/html/edit/011-errors.mu.html b/html/edit/011-errors.mu.html index db0cfa72..8349e70d 100644 --- a/html/edit/011-errors.mu.html +++ b/html/edit/011-errors.mu.html @@ -148,7 +148,7 @@ if ('onhashchange' in window) { <span id="L85" class="LineNr"> 85 </span> <span class="Conceal">¦</span> sandboxes-completed-successfully?:bool <span class="Special"><-</span> equal error-index,<span class="Constant"> -1</span> <span id="L86" class="LineNr"> 86 </span> <span class="Conceal">¦</span> <span class="muControl">break-if</span> sandboxes-completed-successfully? <span id="L87" class="LineNr"> 87 </span> <span class="Conceal">¦</span> error-index-text:text <span class="Special"><-</span> to-text error-index -<span id="L88" class="LineNr"> 88 </span> <span class="Conceal">¦</span> status:text <span class="Special"><-</span> <a href='../061text.mu.html#L521'>interpolate</a> <span class="Constant">[errors found (_) ]</span>, error-index-text +<span id="L88" class="LineNr"> 88 </span> <span class="Conceal">¦</span> status:text <span class="Special"><-</span> <a href='../061text.mu.html#L512'>interpolate</a> <span class="Constant">[errors found (_) ]</span>, error-index-text <span id="L89" class="LineNr"> 89 </span> <span class="Conceal">¦</span> <a href='005-sandbox.mu.html#L217'>update-status</a> <a href='../081print.mu.html#L16'>screen</a>, status, <span class="Constant">1/red</span> <span id="L90" class="LineNr"> 90 </span> <span class="Delimiter">}</span> <span id="L91" class="LineNr"> 91 </span>] |