diff options
Diffstat (limited to 'html/edit/004-programming-environment.mu.html')
-rw-r--r-- | html/edit/004-programming-environment.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/edit/004-programming-environment.mu.html b/html/edit/004-programming-environment.mu.html index 639825f9..2aeba796 100644 --- a/html/edit/004-programming-environment.mu.html +++ b/html/edit/004-programming-environment.mu.html @@ -257,19 +257,19 @@ if ('onhashchange' in window) { <span id="L194" class="LineNr">194 </span> left:num <span class="Special"><-</span> get *editor, <span class="Constant">left:offset</span> <span id="L195" class="LineNr">195 </span> <a href='../081print.mu.html#L587'>screen-height</a>:num <span class="Special"><-</span> <a href='../081print.mu.html#L587'>screen-height</a> <a href='../081print.mu.html#L4'>screen</a> <span id="L196" class="LineNr">196 </span> right:num <span class="Special"><-</span> get *editor, <span class="Constant">right:offset</span> -<span id="L197" class="LineNr">197 </span> curr:&:duplex-list:char <span class="Special"><-</span> get *editor, <span class="Constant">top-of-screen:offset</span> -<span id="L198" class="LineNr">198 </span> <a href='../065duplex_list.mu.html#L36'>prev</a>:&:duplex-list:char <span class="Special"><-</span> copy curr <span class="Comment"># just in case curr becomes null and we can't compute prev</span> +<span id="L197" class="LineNr">197 </span> curr:&:<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="L198" class="LineNr">198 </span> <a href='../065duplex_list.mu.html#L36'>prev</a>:&:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special"><-</span> copy curr <span class="Comment"># just in case curr becomes null and we can't compute prev</span> <span id="L199" class="LineNr">199 </span> curr <span class="Special"><-</span> <a href='../065duplex_list.mu.html#L29'>next</a> curr <span id="L200" class="LineNr">200 </span> color:num <span class="Special"><-</span> copy <span class="Constant">7/white</span> <span id="L201" class="LineNr">201 </span> row:num <span class="Special"><-</span> copy <span class="Constant">1/top</span> <span id="L202" class="LineNr">202 </span> column:num <span class="Special"><-</span> copy left <span id="L203" class="LineNr">203 </span> <span class="Comment"># save before-cursor</span> -<span id="L204" class="LineNr">204 </span> old-before-cursor:&:duplex-list:char <span class="Special"><-</span> get *editor, <span class="Constant">before-cursor:offset</span> +<span id="L204" class="LineNr">204 </span> old-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="L205" class="LineNr">205 </span> <span class="Comment"># initialze cursor-row/cursor-column/before-cursor to the top of the screen</span> <span id="L206" class="LineNr">206 </span> <span class="Comment"># by default</span> <span id="L207" class="LineNr">207 </span> *editor <span class="Special"><-</span> put *editor, <span class="Constant">cursor-row:offset</span>, row <span id="L208" class="LineNr">208 </span> *editor <span class="Special"><-</span> put *editor, <span class="Constant">cursor-column:offset</span>, column -<span id="L209" class="LineNr">209 </span> top-of-screen:&:duplex-list:char <span class="Special"><-</span> get *editor, <span class="Constant">top-of-screen:offset</span> +<span id="L209" class="LineNr">209 </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> <span id="L210" class="LineNr">210 </span> *editor <span class="Special"><-</span> put *editor, <span class="Constant">before-cursor:offset</span>, top-of-screen <span id="L211" class="LineNr">211 </span> <a href='../081print.mu.html#L4'>screen</a> <span class="Special"><-</span> <a href='../081print.mu.html#L435'>move-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, row, column <span id="L212" class="LineNr">212 </span> <span class="Delimiter">{</span> |