about summary refs log tree commit diff stats
path: root/html/edit/001-editor.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/edit/001-editor.mu.html')
-rw-r--r--html/edit/001-editor.mu.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/html/edit/001-editor.mu.html b/html/edit/001-editor.mu.html
index f9282fcc..14307ec2 100644
--- a/html/edit/001-editor.mu.html
+++ b/html/edit/001-editor.mu.html
@@ -92,11 +92,11 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr"> 29 </span>
 <span id="L30" class="LineNr"> 30 </span><span class="muData">container</span> editor [
 <span id="L31" class="LineNr"> 31 </span>  <span class="Comment"># editable text: doubly linked list of characters (head contains a special sentinel)</span>
-<span id="L32" class="LineNr"> 32 </span>  data:&amp;:duplex-list:char
-<span id="L33" class="LineNr"> 33 </span>  top-of-screen:&amp;:duplex-list:char
-<span id="L34" class="LineNr"> 34 </span>  bottom-of-screen:&amp;:duplex-list:char
+<span id="L32" class="LineNr"> 32 </span>  data:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char
+<span id="L33" class="LineNr"> 33 </span>  top-of-screen:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char
+<span id="L34" class="LineNr"> 34 </span>  bottom-of-screen:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char
 <span id="L35" class="LineNr"> 35 </span>  <span class="Comment"># location before cursor inside data</span>
-<span id="L36" class="LineNr"> 36 </span>  before-cursor:&amp;:duplex-list:char
+<span id="L36" class="LineNr"> 36 </span>  before-cursor:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char
 <span id="L37" class="LineNr"> 37 </span>
 <span id="L38" class="LineNr"> 38 </span>  <span class="Comment"># raw bounds of display area on screen</span>
 <span id="L39" class="LineNr"> 39 </span>  <span class="Comment"># always displays from row 1 (leaving row 0 for a menu) and at most until bottom of screen</span>
@@ -123,7 +123,7 @@ if ('onhashchange' in window) {
 <span id="L60" class="LineNr"> 60 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">cursor-row:offset</span>, <span class="Constant">1/top</span>
 <span id="L61" class="LineNr"> 61 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">cursor-column:offset</span>, left
 <span id="L62" class="LineNr"> 62 </span>  <span class="Comment"># initialize empty contents</span>
-<span id="L63" class="LineNr"> 63 </span>  init:&amp;:duplex-list:char <span class="Special">&lt;-</span> push <span class="Constant">167/§</span>, <span class="Constant">0/tail</span>
+<span id="L63" class="LineNr"> 63 </span>  init:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special">&lt;-</span> push <span class="Constant">167/§</span>, <span class="Constant">0/tail</span>
 <span id="L64" class="LineNr"> 64 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">data:offset</span>, init
 <span id="L65" class="LineNr"> 65 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">top-of-screen:offset</span>, init
 <span id="L66" class="LineNr"> 66 </span>  *result <span class="Special">&lt;-</span> put *result, <span class="Constant">before-cursor:offset</span>, init
@@ -140,7 +140,7 @@ if ('onhashchange' in window) {
 <span id="L77" class="LineNr"> 77 </span>  <span class="muControl">return-unless</span> len
 <span id="L78" class="LineNr"> 78 </span>  idx:num <span class="Special">&lt;-</span> copy<span class="Constant"> 0</span>
 <span id="L79" class="LineNr"> 79 </span>  <span class="Comment"># now we can start appending the rest, character by character</span>
-<span id="L80" class="LineNr"> 80 </span>  curr:&amp;:duplex-list:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">data:offset</span>
+<span id="L80" class="LineNr"> 80 </span>  curr:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">data:offset</span>
 <span id="L81" class="LineNr"> 81 </span>  <span class="Delimiter">{</span>
 <span id="L82" class="LineNr"> 82 </span>  <span class="Conceal">¦</span> done?:bool <span class="Special">&lt;-</span> greater-or-equal idx, len
 <span id="L83" class="LineNr"> 83 </span>  <span class="Conceal">¦</span> <span class="muControl">break-if</span> done?
@@ -189,8 +189,8 @@ if ('onhashchange' in window) {
 <span id="L126" class="LineNr">126 </span>  <a href='../081print.mu.html#L587'>screen-height</a>:num <span class="Special">&lt;-</span> <a href='../081print.mu.html#L587'>screen-height</a> <a href='../081print.mu.html#L4'>screen</a>
 <span id="L127" class="LineNr">127 </span>  right:num <span class="Special">&lt;-</span> get *editor, <span class="Constant">right:offset</span>
 <span id="L128" class="LineNr">128 </span>  <span class="Comment"># traversing editor</span>
-<span id="L129" class="LineNr">129 </span>  curr:&amp;:duplex-list:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">top-of-screen:offset</span>
-<span id="L130" class="LineNr">130 </span>  <a href='../065duplex_list.mu.html#L36'>prev</a>:&amp;:duplex-list:char <span class="Special">&lt;-</span> copy curr  <span class="Comment"># just in case curr becomes null and we can't compute prev</span>
+<span id="L129" class="LineNr">129 </span>  curr:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">top-of-screen:offset</span>
+<span id="L130" class="LineNr">130 </span>  <a href='../065duplex_list.mu.html#L36'>prev</a>:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special">&lt;-</span> copy curr  <span class="Comment"># just in case curr becomes null and we can't compute prev</span>
 <span id="L131" class="LineNr">131 </span>  curr <span class="Special">&lt;-</span> <a href='../065duplex_list.mu.html#L29'>next</a> curr
 <span id="L132" class="LineNr">132 </span>  <span class="Comment"># traversing screen</span>
 <span id="L133" class="LineNr">133 </span>  color:num <span class="Special">&lt;-</span> copy <span class="Constant">7/white</span>
@@ -198,7 +198,7 @@ if ('onhashchange' in window) {
 <span id="L135" class="LineNr">135 </span>  column:num <span class="Special">&lt;-</span> copy left
 <span id="L136" class="LineNr">136 </span>  cursor-row:num <span class="Special">&lt;-</span> get *editor, <span class="Constant">cursor-row:offset</span>
 <span id="L137" class="LineNr">137 </span>  cursor-column:num <span class="Special">&lt;-</span> get *editor, <span class="Constant">cursor-column:offset</span>
-<span id="L138" class="LineNr">138 </span>  before-cursor:&amp;:duplex-list:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">before-cursor:offset</span>
+<span id="L138" class="LineNr">138 </span>  before-cursor:&amp;:<a href='../065duplex_list.mu.html#L3'>duplex-list</a>:char <span class="Special">&lt;-</span> get *editor, <span class="Constant">before-cursor:offset</span>
 <span id="L139" class="LineNr">139 </span>  <a href='../081print.mu.html#L4'>screen</a> <span class="Special">&lt;-</span> <a href='../081print.mu.html#L435'>move-cursor</a> <a href='../081print.mu.html#L4'>screen</a>, row, column
 <span id="L140" class="LineNr">140 </span>  <span class="Delimiter">{</span>
 <span id="L141" class="LineNr">141 </span><span class="Constant">  </span><span class="Conceal">¦</span><span class="Constant"> +next-character</span>