diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-10-11 21:35:16 -0700 |
commit | 132d72d28a63e58ec7f5e6fc955be140ee5844b0 (patch) | |
tree | a169eda8e804e45aaca32bf23df4dcb27b25e255 /html/513grapheme-stack.mu.html | |
parent | a54b2cb7af733ae053b0aa78eca2bd4a3419d23d (diff) | |
download | mu-132d72d28a63e58ec7f5e6fc955be140ee5844b0.tar.gz |
.
Diffstat (limited to 'html/513grapheme-stack.mu.html')
-rw-r--r-- | html/513grapheme-stack.mu.html | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/html/513grapheme-stack.mu.html b/html/513grapheme-stack.mu.html index f60e7703..4467a51c 100644 --- a/html/513grapheme-stack.mu.html +++ b/html/513grapheme-stack.mu.html @@ -148,7 +148,7 @@ if ('onhashchange' in window) { <span id="L84" class="LineNr"> 84 </span><span class="muComment"># dump stack to screen from bottom to top</span> <span id="L85" class="LineNr"> 85 </span><span class="muComment"># hardcoded colors:</span> <span id="L86" class="LineNr"> 86 </span><span class="muComment"># matching paren</span> -<span id="L87" class="LineNr"> 87 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int, color: int, background-color: int<span class="PreProc"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> +<span id="L87" class="LineNr"> 87 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int, color: int, background-color: int<span class="PreProc"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> <span id="L88" class="LineNr"> 88 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special"><-</span> copy _self <span id="L89" class="LineNr"> 89 </span> <span class="PreProc">var</span> matching-open-paren-index/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L449'>get-matching-open-paren-index</a> self, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth <span id="L90" class="LineNr"> 90 </span> <span class="PreProc">var</span> data-ah/<span class="muRegEdi">edi</span>: (addr handle array grapheme) <span class="Special"><-</span> get self, data @@ -178,7 +178,7 @@ if ('onhashchange' in window) { <span id="L114" class="LineNr">114 </span> <span class="PreProc">break-if-!=</span> <span id="L115" class="LineNr">115 </span> copy-to fg, <span class="Constant">0xf</span>/highlight <span id="L116" class="LineNr">116 </span> <span class="Delimiter">}</span> -<span id="L117" class="LineNr">117 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color <span class="muComment"># TODO: handle combining characters</span> +<span id="L117" class="LineNr">117 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L16'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color <span class="muComment"># TODO: handle combining characters</span> <span id="L118" class="LineNr">118 </span> <span class="Delimiter">}</span> <span id="L119" class="LineNr">119 </span> i <span class="Special"><-</span> increment <span id="L120" class="LineNr">120 </span> <span class="PreProc">loop</span> @@ -187,15 +187,15 @@ if ('onhashchange' in window) { <span id="L123" class="LineNr">123 </span><span class="Delimiter">}</span> <span id="L124" class="LineNr">124 </span> <span id="L125" class="LineNr">125 </span><span class="muComment"># helper for small words</span> -<span id="L126" class="LineNr">126 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> +<span id="L126" class="LineNr">126 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>: boolean, open-paren-depth: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> <span id="L127" class="LineNr">127 </span> <span class="PreProc">var</span> _width/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L128" class="LineNr">128 </span> <span class="PreProc">var</span> _height/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L129" class="LineNr">129 </span> _width, _height <span class="Special"><-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a> +<span id="L129" class="LineNr">129 </span> _width, _height <span class="Special"><-</span> <a href='500fake-screen.mu.html#L75'>screen-size</a> <a href='500fake-screen.mu.html#L16'>screen</a> <span id="L130" class="LineNr">130 </span> <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy _width <span id="L131" class="LineNr">131 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy _height <span id="L132" class="LineNr">132 </span> <span class="PreProc">var</span> x2/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L133" class="LineNr">133 </span> <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L134" class="LineNr">134 </span> x2, y2 <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, self, x, y, width, height, x, y, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L134" class="LineNr">134 </span> x2, y2 <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L87'>render-stack-from-bottom-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L16'>screen</a>, self, x, y, width, height, x, y, <a href='514gap-buffer.mu.html#L942'>highlight-matching-open-paren?</a>, open-paren-depth, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L135" class="LineNr">135 </span> <span class="PreProc">return</span> x2 <span class="muComment"># y2? yolo</span> <span id="L136" class="LineNr">136 </span><span class="Delimiter">}</span> <span id="L137" class="LineNr">137 </span> @@ -204,7 +204,7 @@ if ('onhashchange' in window) { <span id="L140" class="LineNr">140 </span><span class="muComment"># hard-coded colors:</span> <span id="L141" class="LineNr">141 </span><span class="muComment"># matching paren</span> <span id="L142" class="LineNr">142 </span><span class="muComment"># cursor</span> -<span id="L143" class="LineNr">143 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> +<span id="L143" class="LineNr">143 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), _self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), xmin: int, ymin: int, xmax: int, ymax: int, _x: int, _y: int, render-cursor?: boolean, color: int, background-color: int<span class="PreProc"> -> </span>_/eax: int, _/<span class="muRegEcx">ecx</span>: int <span class="Delimiter">{</span> <span id="L144" class="LineNr">144 </span> <span class="PreProc">var</span> self/<span class="muRegEsi">esi</span>: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>) <span class="Special"><-</span> copy _self <span id="L145" class="LineNr">145 </span> <span class="PreProc">var</span> matching-close-paren-index/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L393'>get-matching-close-paren-index</a> self, render-cursor? <span id="L146" class="LineNr">146 </span> <span class="PreProc">var</span> data-ah/eax: (addr handle array grapheme) <span class="Special"><-</span> get self, data @@ -227,7 +227,7 @@ if ('onhashchange' in window) { <span id="L163" class="LineNr">163 </span> <span class="PreProc">var</span> tmp/eax: code-point <span class="Special"><-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> *g <span id="L164" class="LineNr">164 </span> copy-to c, tmp <span id="L165" class="LineNr">165 </span> <span class="Delimiter">}</span> -<span id="L166" class="LineNr">166 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, background-color, color +<span id="L166" class="LineNr">166 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L16'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, background-color, color <span id="L167" class="LineNr">167 </span> i <span class="Special"><-</span> decrement <span id="L168" class="LineNr">168 </span> <span class="Delimiter">}</span> <span id="L169" class="LineNr">169 </span> <span class="muComment"># remaining iterations</span> @@ -252,7 +252,7 @@ if ('onhashchange' in window) { <span id="L188" class="LineNr">188 </span> <span class="PreProc">var</span> tmp/eax: code-point <span class="Special"><-</span> <a href='403unicode.mu.html#L56'>to-code-point</a> *g <span id="L189" class="LineNr">189 </span> copy-to c, tmp <span id="L190" class="LineNr">190 </span> <span class="Delimiter">}</span> -<span id="L191" class="LineNr">191 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L14'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color +<span id="L191" class="LineNr">191 </span> x, y <span class="Special"><-</span> <a href='501draw-text.mu.html#L162'>render-code-point</a> <a href='500fake-screen.mu.html#L16'>screen</a>, c, xmin, ymin, xmax, ymax, x, y, fg, background-color <span id="L192" class="LineNr">192 </span> i <span class="Special"><-</span> decrement <span id="L193" class="LineNr">193 </span> <span class="PreProc">loop</span> <span id="L194" class="LineNr">194 </span> <span class="Delimiter">}</span> @@ -260,15 +260,15 @@ if ('onhashchange' in window) { <span id="L196" class="LineNr">196 </span><span class="Delimiter">}</span> <span id="L197" class="LineNr">197 </span> <span id="L198" class="LineNr">198 </span><span class="muComment"># helper for small words</span> -<span id="L199" class="LineNr">199 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, render-cursor?: boolean<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> +<span id="L199" class="LineNr">199 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a></span> <a href='500fake-screen.mu.html#L16'>screen</a>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>), self: (addr <a href='513grapheme-stack.mu.html#L3'>grapheme-stack</a>), x: int, y: int, render-cursor?: boolean<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> <span id="L200" class="LineNr">200 </span> <span class="PreProc">var</span> _width/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L201" class="LineNr">201 </span> <span class="PreProc">var</span> _height/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L202" class="LineNr">202 </span> _width, _height <span class="Special"><-</span> <a href='500fake-screen.mu.html#L73'>screen-size</a> <a href='500fake-screen.mu.html#L14'>screen</a> +<span id="L202" class="LineNr">202 </span> _width, _height <span class="Special"><-</span> <a href='500fake-screen.mu.html#L75'>screen-size</a> <a href='500fake-screen.mu.html#L16'>screen</a> <span id="L203" class="LineNr">203 </span> <span class="PreProc">var</span> width/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy _width <span id="L204" class="LineNr">204 </span> <span class="PreProc">var</span> height/<span class="muRegEbx">ebx</span>: int <span class="Special"><-</span> copy _height <span id="L205" class="LineNr">205 </span> <span class="PreProc">var</span> x2/eax: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L206" class="LineNr">206 </span> <span class="PreProc">var</span> y2/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L207" class="LineNr">207 </span> x2, y2 <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L14'>screen</a>, self, x, y, width, height, x, y, render-cursor?, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg +<span id="L207" class="LineNr">207 </span> x2, y2 <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L143'>render-stack-from-top-wrapping-right-then-down</a> <a href='500fake-screen.mu.html#L16'>screen</a>, self, x, y, width, height, x, y, render-cursor?, <span class="Constant">3</span>/fg=cyan, <span class="Constant">0xc5</span>/bg=blue-bg <span id="L208" class="LineNr">208 </span> <span class="PreProc">return</span> x2 <span class="muComment"># y2? yolo</span> <span id="L209" class="LineNr">209 </span><span class="Delimiter">}</span> <span id="L210" class="LineNr">210 </span> @@ -284,24 +284,24 @@ if ('onhashchange' in window) { <span id="L220" class="LineNr">220 </span> g <span class="Special"><-</span> copy <span class="Constant">0x63</span>/c <span id="L221" class="LineNr">221 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L222" class="LineNr">222 </span> <span class="muComment"># setup: screen</span> -<span id="L223" class="LineNr">223 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L224" class="LineNr">224 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L225" class="LineNr">225 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L223" class="LineNr">223 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L224" class="LineNr">224 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L225" class="LineNr">225 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L226" class="LineNr">226 </span> <span class="muComment">#</span> -<span id="L227" class="LineNr">227 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0</span>/no-highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth -<span id="L228" class="LineNr">228 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"abc "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from bottom"</span> +<span id="L227" class="LineNr">227 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">0</span>/y, <span class="Constant">0</span>/no-highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth +<span id="L228" class="LineNr">228 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0</span>/y, <span class="Constant">"abc "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from bottom"</span> <span id="L229" class="LineNr">229 </span> <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">3</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from bottom: result"</span> -<span id="L230" class="LineNr">230 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from bottom: bg"</span> +<span id="L230" class="LineNr">230 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">0</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from bottom: bg"</span> <span id="L231" class="LineNr">231 </span> <span class="muComment">#</span> -<span id="L232" class="LineNr">232 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">1</span>/y, <span class="Constant">0</span>/cursor=false -<span id="L233" class="LineNr">233 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">"cba "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top without cursor"</span> +<span id="L232" class="LineNr">232 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">1</span>/y, <span class="Constant">0</span>/cursor=false +<span id="L233" class="LineNr">233 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">1</span>/y, <span class="Constant">"cba "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top without cursor"</span> <span id="L234" class="LineNr">234 </span> <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">3</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top without cursor: result"</span> -<span id="L235" class="LineNr">235 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">1</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top without cursor: bg"</span> +<span id="L235" class="LineNr">235 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">1</span>/y, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top without cursor: bg"</span> <span id="L236" class="LineNr">236 </span> <span class="muComment">#</span> -<span id="L237" class="LineNr">237 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true -<span id="L238" class="LineNr">238 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"cba "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top with cursor"</span> +<span id="L237" class="LineNr">237 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true +<span id="L238" class="LineNr">238 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"cba "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top with cursor"</span> <span id="L239" class="LineNr">239 </span> <a href='502test.mu.html#L2'>check-ints-equal</a> x, <span class="Constant">3</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top with cursor: result"</span> -<span id="L240" class="LineNr">240 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top with cursor: bg"</span> +<span id="L240" class="LineNr">240 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L211'>test-render-grapheme-stack</a> from top with cursor: bg"</span> <span id="L241" class="LineNr">241 </span><span class="Delimiter">}</span> <span id="L242" class="LineNr">242 </span> <span id="L243" class="LineNr">243 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L243'>test-render-grapheme-stack-while-highlighting-matching-close-paren</a></span> <span class="Delimiter">{</span> @@ -316,14 +316,14 @@ if ('onhashchange' in window) { <span id="L252" class="LineNr">252 </span> g <span class="Special"><-</span> copy <span class="Constant">0x28</span>/open-paren <span id="L253" class="LineNr">253 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L254" class="LineNr">254 </span> <span class="muComment"># setup: screen</span> -<span id="L255" class="LineNr">255 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L256" class="LineNr">256 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L257" class="LineNr">257 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L255" class="LineNr">255 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L256" class="LineNr">256 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L257" class="LineNr">257 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L258" class="LineNr">258 </span> <span class="muComment">#</span> -<span id="L259" class="LineNr">259 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true -<span id="L260" class="LineNr">260 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-close-paren"</span> -<span id="L261" class="LineNr">261 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L243'>test-render-grapheme-stack-while-highlighting-matching-close-paren</a>: cursor"</span> -<span id="L262" class="LineNr">262 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ) "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L243'>test-render-grapheme-stack-while-highlighting-matching-close-paren</a>: matching paren"</span> +<span id="L259" class="LineNr">259 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true +<span id="L260" class="LineNr">260 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-close-paren"</span> +<span id="L261" class="LineNr">261 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L243'>test-render-grapheme-stack-while-highlighting-matching-close-paren</a>: cursor"</span> +<span id="L262" class="LineNr">262 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ) "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L243'>test-render-grapheme-stack-while-highlighting-matching-close-paren</a>: matching paren"</span> <span id="L263" class="LineNr">263 </span><span class="Delimiter">}</span> <span id="L264" class="LineNr">264 </span> <span id="L265" class="LineNr">265 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L265'>test-render-grapheme-stack-while-highlighting-matching-close-paren-2</a></span> <span class="Delimiter">{</span> @@ -350,14 +350,14 @@ if ('onhashchange' in window) { <span id="L286" class="LineNr">286 </span> g <span class="Special"><-</span> copy <span class="Constant">0x28</span>/open-paren <span id="L287" class="LineNr">287 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L288" class="LineNr">288 </span> <span class="muComment"># setup: screen</span> -<span id="L289" class="LineNr">289 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L290" class="LineNr">290 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L291" class="LineNr">291 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L289" class="LineNr">289 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L290" class="LineNr">290 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L291" class="LineNr">291 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L292" class="LineNr">292 </span> <span class="muComment">#</span> -<span id="L293" class="LineNr">293 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true -<span id="L294" class="LineNr">294 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(a (b)) c "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-close-paren-2"</span> -<span id="L295" class="LineNr">295 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L265'>test-render-grapheme-stack-while-highlighting-matching-close-paren-2</a>: cursor"</span> -<span id="L296" class="LineNr">296 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ) "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L265'>test-render-grapheme-stack-while-highlighting-matching-close-paren-2</a>: matching paren"</span> +<span id="L293" class="LineNr">293 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L199'>render-stack-from-top</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/cursor=true +<span id="L294" class="LineNr">294 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(a (b)) c "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-close-paren-2"</span> +<span id="L295" class="LineNr">295 </span> <a href='504test-screen.mu.html#L267'>check-background-color-in-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">3</span>/bg=reverse, <span class="Constant">2</span>/y, <span class="Constant">"| "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L265'>test-render-grapheme-stack-while-highlighting-matching-close-paren-2</a>: cursor"</span> +<span id="L296" class="LineNr">296 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ) "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L265'>test-render-grapheme-stack-while-highlighting-matching-close-paren-2</a>: matching paren"</span> <span id="L297" class="LineNr">297 </span><span class="Delimiter">}</span> <span id="L298" class="LineNr">298 </span> <span id="L299" class="LineNr">299 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L299'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end</a></span> <span class="Delimiter">{</span> @@ -372,13 +372,13 @@ if ('onhashchange' in window) { <span id="L308" class="LineNr">308 </span> g <span class="Special"><-</span> copy <span class="Constant">0x29</span>/close-paren <span id="L309" class="LineNr">309 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L310" class="LineNr">310 </span> <span class="muComment"># setup: screen</span> -<span id="L311" class="LineNr">311 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L312" class="LineNr">312 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L313" class="LineNr">313 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L311" class="LineNr">311 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L312" class="LineNr">312 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L313" class="LineNr">313 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L314" class="LineNr">314 </span> <span class="muComment">#</span> -<span id="L315" class="LineNr">315 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">1</span>/open-paren-depth -<span id="L316" class="LineNr">316 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end"</span> -<span id="L317" class="LineNr">317 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">"( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L299'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end</a>: matching paren"</span> +<span id="L315" class="LineNr">315 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">1</span>/open-paren-depth +<span id="L316" class="LineNr">316 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end"</span> +<span id="L317" class="LineNr">317 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">"( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L299'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end</a>: matching paren"</span> <span id="L318" class="LineNr">318 </span><span class="Delimiter">}</span> <span id="L319" class="LineNr">319 </span> <span id="L320" class="LineNr">320 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L320'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end-2</a></span> <span class="Delimiter">{</span> @@ -399,13 +399,13 @@ if ('onhashchange' in window) { <span id="L335" class="LineNr">335 </span> g <span class="Special"><-</span> copy <span class="Constant">0x29</span>/close-paren <span id="L336" class="LineNr">336 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L337" class="LineNr">337 </span> <span class="muComment"># setup: screen</span> -<span id="L338" class="LineNr">338 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L339" class="LineNr">339 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L340" class="LineNr">340 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L338" class="LineNr">338 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L339" class="LineNr">339 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L340" class="LineNr">340 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L341" class="LineNr">341 </span> <span class="muComment">#</span> -<span id="L342" class="LineNr">342 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">1</span>/open-paren-depth -<span id="L343" class="LineNr">343 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"a((b)) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end-2"</span> -<span id="L344" class="LineNr">344 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L320'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end-2</a>: matching paren"</span> +<span id="L342" class="LineNr">342 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">1</span>/open-paren-depth +<span id="L343" class="LineNr">343 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"a((b)) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end-2"</span> +<span id="L344" class="LineNr">344 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L320'>test-render-grapheme-stack-while-highlighting-matching-open-paren-with-close-paren-at-end-2</a>: matching paren"</span> <span id="L345" class="LineNr">345 </span><span class="Delimiter">}</span> <span id="L346" class="LineNr">346 </span> <span id="L347" class="LineNr">347 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L347'>test-render-grapheme-stack-while-highlighting-matching-open-paren</a></span> <span class="Delimiter">{</span> @@ -418,13 +418,13 @@ if ('onhashchange' in window) { <span id="L354" class="LineNr">354 </span> g <span class="Special"><-</span> copy <span class="Constant">0x62</span>/b <span id="L355" class="LineNr">355 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L356" class="LineNr">356 </span> <span class="muComment"># setup: screen</span> -<span id="L357" class="LineNr">357 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L358" class="LineNr">358 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L359" class="LineNr">359 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L357" class="LineNr">357 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L358" class="LineNr">358 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L359" class="LineNr">359 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L360" class="LineNr">360 </span> <span class="muComment">#</span> -<span id="L361" class="LineNr">361 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth -<span id="L362" class="LineNr">362 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren"</span> -<span id="L363" class="LineNr">363 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">"( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L347'>test-render-grapheme-stack-while-highlighting-matching-open-paren</a>: matching paren"</span> +<span id="L361" class="LineNr">361 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth +<span id="L362" class="LineNr">362 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"(b "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren"</span> +<span id="L363" class="LineNr">363 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">"( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L347'>test-render-grapheme-stack-while-highlighting-matching-open-paren</a>: matching paren"</span> <span id="L364" class="LineNr">364 </span><span class="Delimiter">}</span> <span id="L365" class="LineNr">365 </span> <span id="L366" class="LineNr">366 </span><span class="PreProc">fn</span> <span class="muTest"><a href='513grapheme-stack.mu.html#L366'>test-render-grapheme-stack-while-highlighting-matching-open-paren-2</a></span> <span class="Delimiter">{</span> @@ -443,13 +443,13 @@ if ('onhashchange' in window) { <span id="L379" class="LineNr">379 </span> g <span class="Special"><-</span> copy <span class="Constant">0x29</span>/close-paren <span id="L380" class="LineNr">380 </span> <a href='513grapheme-stack.mu.html#L39'>push-grapheme-stack</a> gs, g <span id="L381" class="LineNr">381 </span> <span class="muComment"># setup: screen</span> -<span id="L382" class="LineNr">382 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L14'>screen</a> -<span id="L383" class="LineNr">383 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L14'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>) <span class="Special"><-</span> address screen-storage -<span id="L384" class="LineNr">384 </span> <a href='500fake-screen.mu.html#L32'>initialize-screen</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics +<span id="L382" class="LineNr">382 </span> <span class="PreProc">var</span> screen-storage: <a href='500fake-screen.mu.html#L16'>screen</a> +<span id="L383" class="LineNr">383 </span> <span class="PreProc">var</span> <a href='500fake-screen.mu.html#L16'>screen</a>/<span class="muRegEsi">esi</span>: (addr <a href='500fake-screen.mu.html#L16'>screen</a>) <span class="Special"><-</span> address screen-storage +<span id="L384" class="LineNr">384 </span> <a href='500fake-screen.mu.html#L34'>initialize-screen</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">5</span>, <span class="Constant">4</span>, <span class="Constant">0</span>/no-pixel-graphics <span id="L385" class="LineNr">385 </span> <span class="muComment">#</span> -<span id="L386" class="LineNr">386 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L14'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth -<span id="L387" class="LineNr">387 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"a((b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-2"</span> -<span id="L388" class="LineNr">388 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L366'>test-render-grapheme-stack-while-highlighting-matching-open-paren-2</a>: matching paren"</span> +<span id="L386" class="LineNr">386 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> <a href='513grapheme-stack.mu.html#L126'>render-stack-from-bottom</a> <a href='500fake-screen.mu.html#L16'>screen</a>, gs, <span class="Constant">0</span>/x, <span class="Constant">2</span>/y, <span class="Constant">1</span>/highlight-matching-open-paren, <span class="Constant">0</span>/open-paren-depth +<span id="L387" class="LineNr">387 </span> <a href='504test-screen.mu.html#L7'>check-screen-row</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">2</span>/y, <span class="Constant">"a((b) "</span>, <span class="Constant">"F - test-render-grapheme-stack-while-highlighting-matching-open-paren-2"</span> +<span id="L388" class="LineNr">388 </span> <a href='504test-screen.mu.html#L75'>check-screen-row-in-color</a> <a href='500fake-screen.mu.html#L16'>screen</a>, <span class="Constant">0xf</span>/fg=white, <span class="Constant">2</span>/y, <span class="Constant">" ( "</span>, <span class="Constant">"F - <a href='513grapheme-stack.mu.html#L366'>test-render-grapheme-stack-while-highlighting-matching-open-paren-2</a>: matching paren"</span> <span id="L389" class="LineNr">389 </span><span class="Delimiter">}</span> <span id="L390" class="LineNr">390 </span> <span id="L391" class="LineNr">391 </span><span class="muComment"># return the index of the matching close-paren of the grapheme at cursor (top of stack)</span> |