diff options
Diffstat (limited to 'html/edit/002-typing.mu.html')
-rw-r--r-- | html/edit/002-typing.mu.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/html/edit/002-typing.mu.html b/html/edit/002-typing.mu.html index 9d883a7e..d3f59451 100644 --- a/html/edit/002-typing.mu.html +++ b/html/edit/002-typing.mu.html @@ -241,7 +241,7 @@ if ('onhashchange' in window) { <span id="L180" class="LineNr"> 180 </span> <span class="muControl">break-unless</span> is-unicode? <span id="L181" class="LineNr"> 181 </span> trace<span class="Constant"> 10</span>, <span class="Constant">[app]</span>, <span class="Constant">[handle-keyboard-event: special character]</span> <span id="L182" class="LineNr"> 182 </span> <span class="Comment"># exceptions for special characters go here</span> -<span id="L183" class="LineNr"> 183 </span><span class="Constant"> <handle-special-character></span> +<span id="L183" class="LineNr"> 183 </span><span class="Constant"> <a href='002-typing.mu.html#L183'><handle-special-character></a></span> <span id="L184" class="LineNr"> 184 </span> <span class="Comment"># ignore any other special characters</span> <span id="L185" class="LineNr"> 185 </span> regular-character?:bool <span class="Special"><-</span> greater-or-equal c, <span class="Constant">32/space</span> <span id="L186" class="LineNr"> 186 </span> <span class="muControl">return-unless</span> regular-character?, <span class="Constant">0/don't-render</span> @@ -255,7 +255,7 @@ if ('onhashchange' in window) { <span id="L194" class="LineNr"> 194 </span> k:num, is-keycode?:bool <span class="Special"><-</span> maybe-convert e:<a href='../084console.mu.html#L4'>event</a>, <span class="Constant">keycode:variant</span> <span id="L195" class="LineNr"> 195 </span> assert is-keycode?, <span class="Constant">[event was of unknown type; neither keyboard nor mouse]</span> <span id="L196" class="LineNr"> 196 </span> <span class="Comment"># handlers for each special key will go here</span> -<span id="L197" class="LineNr"> 197 </span><span class="Constant"> <handle-special-key></span> +<span id="L197" class="LineNr"> 197 </span><span class="Constant"> <a href='002-typing.mu.html#L197'><handle-special-key></a></span> <span id="L198" class="LineNr"> 198 </span> <span class="muControl">return</span> <span class="Constant">1/go-render</span> <span id="L199" class="LineNr"> 199 </span>] <span id="L200" class="LineNr"> 200 </span> @@ -275,7 +275,7 @@ if ('onhashchange' in window) { <span id="L214" class="LineNr"> 214 </span> <a href='../081print.mu.html#L581'>screen-width</a>:num <span class="Special"><-</span> <a href='../081print.mu.html#L581'>screen-width</a> <a href='../081print.mu.html#L4'>screen</a> <span id="L215" class="LineNr"> 215 </span> <a href='../081print.mu.html#L594'>screen-height</a>:num <span class="Special"><-</span> <a href='../081print.mu.html#L594'>screen-height</a> <a href='../081print.mu.html#L4'>screen</a> <span id="L216" class="LineNr"> 216 </span> <span class="Comment"># occasionally we'll need to mess with the cursor</span> -<span id="L217" class="LineNr"> 217 </span><span class="Constant"> <insert-character-special-case></span> +<span id="L217" class="LineNr"> 217 </span><span class="Constant"> <a href='002-typing.mu.html#L217'><insert-character-special-case></a></span> <span id="L218" class="LineNr"> 218 </span> <span class="Comment"># but mostly we'll just move the cursor right</span> <span id="L219" class="LineNr"> 219 </span> cursor-column <span class="Special"><-</span> add cursor-column,<span class="Constant"> 1</span> <span id="L220" class="LineNr"> 220 </span> *editor <span class="Special"><-</span> put *editor, <span class="Constant">cursor-column:offset</span>, cursor-column @@ -748,7 +748,7 @@ if ('onhashchange' in window) { <span id="L687" class="LineNr"> 687 </span> ] <span id="L688" class="LineNr"> 688 </span>] <span id="L689" class="LineNr"> 689 </span> -<span id="L690" class="LineNr"> 690 </span><span class="muRecipe">after</span> <span class="Constant"><insert-character-special-case></span> [ +<span id="L690" class="LineNr"> 690 </span><span class="muRecipe">after</span> <span class="Constant"><a href='002-typing.mu.html#L217'><insert-character-special-case></a></span> [ <span id="L691" class="LineNr"> 691 </span> <span class="Comment"># if the line wraps at the cursor, move cursor to start of next row</span> <span id="L692" class="LineNr"> 692 </span> <span class="Delimiter">{</span> <span id="L693" class="LineNr"> 693 </span> <span class="Comment"># if either:</span> @@ -887,7 +887,7 @@ if ('onhashchange' in window) { <span id="L826" class="LineNr"> 826 </span> indent?:bool <span id="L827" class="LineNr"> 827 </span>] <span id="L828" class="LineNr"> 828 </span> -<span id="L829" class="LineNr"> 829 </span><span class="muRecipe">after</span> <span class="Constant"><editor-initialization></span> [ +<span id="L829" class="LineNr"> 829 </span><span class="muRecipe">after</span> <span class="Constant"><a href='001-editor.mu.html#L69'><editor-initialization></a></span> [ <span id="L830" class="LineNr"> 830 </span> *result <span class="Special"><-</span> put *result, <span class="Constant">indent?:offset</span>, <span class="Constant">1/true</span> <span id="L831" class="LineNr"> 831 </span>] <span id="L832" class="LineNr"> 832 </span> @@ -911,13 +911,13 @@ if ('onhashchange' in window) { <span id="L850" class="LineNr"> 850 </span> ] <span id="L851" class="LineNr"> 851 </span>] <span id="L852" class="LineNr"> 852 </span> -<span id="L853" class="LineNr"> 853 </span><span class="muRecipe">after</span> <span class="Constant"><handle-special-character></span> [ +<span id="L853" class="LineNr"> 853 </span><span class="muRecipe">after</span> <span class="Constant"><a href='002-typing.mu.html#L183'><handle-special-character></a></span> [ <span id="L854" class="LineNr"> 854 </span> <span class="Delimiter">{</span> <span id="L855" class="LineNr"> 855 </span> newline?:bool <span class="Special"><-</span> equal c, <span class="Constant">10/newline</span> <span id="L856" class="LineNr"> 856 </span> <span class="muControl">break-unless</span> newline? -<span id="L857" class="LineNr"> 857 </span><span class="Constant"> <insert-enter-begin></span> +<span id="L857" class="LineNr"> 857 </span><span class="Constant"> <a href='002-typing.mu.html#L857'><insert-enter-begin></a></span> <span id="L858" class="LineNr"> 858 </span> <a href='002-typing.mu.html#L864'>insert-new-line-and-indent</a> editor, <a href='../081print.mu.html#L4'>screen</a> -<span id="L859" class="LineNr"> 859 </span><span class="Constant"> <insert-enter-end></span> +<span id="L859" class="LineNr"> 859 </span><span class="Constant"> <a href='002-typing.mu.html#L859'><insert-enter-end></a></span> <span id="L860" class="LineNr"> 860 </span> <span class="muControl">return</span> <span class="Constant">1/go-render</span> <span id="L861" class="LineNr"> 861 </span> <span class="Delimiter">}</span> <span id="L862" class="LineNr"> 862 </span>] @@ -1094,7 +1094,7 @@ if ('onhashchange' in window) { <span id="L1033" class="LineNr">1033 </span> ] <span id="L1034" class="LineNr">1034 </span>] <span id="L1035" class="LineNr">1035 </span> -<span id="L1036" class="LineNr">1036 </span><span class="muRecipe">after</span> <span class="Constant"><handle-special-key></span> [ +<span id="L1036" class="LineNr">1036 </span><span class="muRecipe">after</span> <span class="Constant"><a href='002-typing.mu.html#L197'><handle-special-key></a></span> [ <span id="L1037" class="LineNr">1037 </span> <span class="Delimiter">{</span> <span id="L1038" class="LineNr">1038 </span> paste-start?:bool <span class="Special"><-</span> equal k, <span class="Constant">65507/paste-start</span> <span id="L1039" class="LineNr">1039 </span> <span class="muControl">break-unless</span> paste-start? @@ -1103,7 +1103,7 @@ if ('onhashchange' in window) { <span id="L1042" class="LineNr">1042 </span> <span class="Delimiter">}</span> <span id="L1043" class="LineNr">1043 </span>] <span id="L1044" class="LineNr">1044 </span> -<span id="L1045" class="LineNr">1045 </span><span class="muRecipe">after</span> <span class="Constant"><handle-special-key></span> [ +<span id="L1045" class="LineNr">1045 </span><span class="muRecipe">after</span> <span class="Constant"><a href='002-typing.mu.html#L197'><handle-special-key></a></span> [ <span id="L1046" class="LineNr">1046 </span> <span class="Delimiter">{</span> <span id="L1047" class="LineNr">1047 </span> paste-end?:bool <span class="Special"><-</span> equal k, <span class="Constant">65506/paste-end</span> <span id="L1048" class="LineNr">1048 </span> <span class="muControl">break-unless</span> paste-end? |