diff options
Diffstat (limited to 'html/edit/001-editor.mu.html')
-rw-r--r-- | html/edit/001-editor.mu.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/html/edit/001-editor.mu.html b/html/edit/001-editor.mu.html index 215debfd..2f22aa64 100644 --- a/html/edit/001-editor.mu.html +++ b/html/edit/001-editor.mu.html @@ -68,7 +68,7 @@ if ('onhashchange' in window) { <span id="L4" class="LineNr"> 4 </span><span class="Comment"># screen dimensions, then stop</span> <span id="L5" class="LineNr"> 5 </span><span class="muRecipe">def</span> main text:text [ <span id="L6" class="LineNr"> 6 </span> <span class="Constant">local-scope</span> -<span id="L7" class="LineNr"> 7 </span> <span class="Constant">load-ingredients</span> +<span id="L7" class="LineNr"> 7 </span> <span class="Constant">load-inputs</span> <span id="L8" class="LineNr"> 8 </span> open-console <span id="L9" class="LineNr"> 9 </span> <a href='../081print.mu.html#L46'>clear-screen</a> <span class="Constant">0/screen</span> <span class="Comment"># non-scrolling app</span> <span id="L10" class="LineNr"> 10 </span> e:&:editor <span class="Special"><-</span> <a href='001-editor.mu.html#L51'>new-editor</a> text, <span class="Constant">0/left</span>, <span class="Constant">5/right</span> @@ -114,7 +114,7 @@ if ('onhashchange' in window) { <span id="L50" class="LineNr"> 50 </span><span class="Comment"># right is exclusive</span> <span id="L51" class="LineNr"> 51 </span><span class="muRecipe">def</span> <a href='001-editor.mu.html#L51'>new-editor</a> s:text, left:num, right:num<span class="muRecipe"> -> </span>result:&:editor [ <span id="L52" class="LineNr"> 52 </span> <span class="Constant">local-scope</span> -<span id="L53" class="LineNr"> 53 </span> <span class="Constant">load-ingredients</span> +<span id="L53" class="LineNr"> 53 </span> <span class="Constant">load-inputs</span> <span id="L54" class="LineNr"> 54 </span> <span class="Comment"># no clipping of bounds</span> <span id="L55" class="LineNr"> 55 </span> right <span class="Special"><-</span> subtract right,<span class="Constant"> 1</span> <span id="L56" class="LineNr"> 56 </span> result <span class="Special"><-</span> new <span class="Constant">editor:type</span> @@ -135,7 +135,7 @@ if ('onhashchange' in window) { <span id="L71" class="LineNr"> 71 </span> <span id="L72" class="LineNr"> 72 </span><span class="muRecipe">def</span> <a href='001-editor.mu.html#L72'>insert-text</a> editor:&:editor, text:text<span class="muRecipe"> -> </span>editor:&:editor [ <span id="L73" class="LineNr"> 73 </span> <span class="Constant">local-scope</span> -<span id="L74" class="LineNr"> 74 </span> <span class="Constant">load-ingredients</span> +<span id="L74" class="LineNr"> 74 </span> <span class="Constant">load-inputs</span> <span id="L75" class="LineNr"> 75 </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="L76" class="LineNr"> 76 </span> insert curr, text <span id="L77" class="LineNr"> 77 </span>] @@ -170,7 +170,7 @@ if ('onhashchange' in window) { <span id="L106" class="LineNr">106 </span><span class="Comment"># outside text.</span> <span id="L107" class="LineNr">107 </span><span class="muRecipe">def</span> <a href='001-editor.mu.html#L107'>render</a> <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, editor:&:editor<span class="muRecipe"> -> </span>last-row:num, last-column:num, <a href='../081print.mu.html#L16'>screen</a>:&:<a href='../081print.mu.html#L16'>screen</a>, editor:&:editor [ <span id="L108" class="LineNr">108 </span> <span class="Constant">local-scope</span> -<span id="L109" class="LineNr">109 </span> <span class="Constant">load-ingredients</span> +<span id="L109" class="LineNr">109 </span> <span class="Constant">load-inputs</span> <span id="L110" class="LineNr">110 </span> <span class="muControl">return-unless</span> editor, <span class="Constant">1/top</span>, <span class="Constant">0/left</span> <span id="L111" class="LineNr">111 </span> left:num <span class="Special"><-</span> g/span>contact_presence_online_when_same_prioroty(void **state); void contact_presence_away_when_same_prioroty(void **state); void contact_presence_xa_when_same_prioroty(void **state); void contact_presence_dnd(void **state); void contact_subscribed_when_to(void **state); void contact_subscribed_when_both(void **state); void contact_not_subscribed_when_from(void **state); void contact_not_subscribed_when_no_subscription_value(void **state); void contact_not_available(void **state); void contact_not_available_when_highest_priority_away(void **state); void contact_not_available_when_highest_priority_xa(void **state); void contact_not_available_when_highest_priority_dnd(void **state); void contact_available_when_highest_priority_online(void **state); void contact_available_when_highest_priority_chat(void **state);ineNr">396 </span><span class="Comment"># so far the previous color is all the information we need; that may change</span> <span id="L397" class="LineNr">397 </span><span class="muRecipe">def</span> <a href='001-editor.mu.html#L397'>get-color</a> color:num, c:char<span class="muRecipe"> -> </span>color:num [ <span id="L398" class="LineNr">398 </span> <span class="Constant">local-scope</span> -<span id="L399" class="LineNr">399 </span> <span class="Constant">load-ingredients</span> +<span id="L399" class="LineNr">399 </span> <span class="Constant">load-inputs</span> <span id="L400" class="LineNr">400 </span> color-is-white?:bool <span class="Special"><-</span> equal color, <span class="Constant">7/white</span> <span id="L401" class="LineNr">401 </span> <span class="Comment"># if color is white and next character is '#', switch color to blue</span> <span id="L402" class="LineNr">402 </span> <span class="Delimiter">{</span> |