about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-09 22:15:14 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-09 22:15:14 -0700
commitec6221b4852a65b4a6f41523cfc937380c678c09 (patch)
treeaf52dfac428e07510ef871df02e475fb5fb63786 /apps
parent315926f732464affdb21ef102dde7380974a3ab1 (diff)
downloadmu-ec6221b4852a65b4a6f41523cfc937380c678c09.tar.gz
6980
Changing tack..
Diffstat (limited to 'apps')
-rw-r--r--apps/tile/environment.mu5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/tile/environment.mu b/apps/tile/environment.mu
index 406d1ede..c5a85f33 100644
--- a/apps/tile/environment.mu
+++ b/apps/tile/environment.mu
@@ -388,7 +388,7 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
 #?       reset-formatting screen
 #?     increment top-row
     # now render main column
-    curr-col <- render-column screen, functions, bindings, line, curr-word, top-row, curr-col, curr-path, cursor-word, cursor-col-a
+    curr-col <- render-column screen, functions, bindings, line, curr-word, top-row, curr-col, cursor-word, cursor-col-a
     var next-word-ah/edx: (addr handle word) <- get curr-word, next
     curr-word <- lookup *next-word-ah
     increment-final-element curr-path
@@ -400,13 +400,12 @@ fn render-line screen: (addr screen), functions: (addr handle function), binding
 # Render:
 #   - starting at top-row, left-col: final-word
 #   - starting somewhere below at left-col: the stack result from interpreting first-world to final-word (inclusive)
-#     unless final-word is truly the final word, in which case it might be incomplete
 #
 # Outputs:
 # - Return the farthest column written.
 # - If final-word is same as cursor-word, do some additional computation to set
 #   cursor-col-a.
-fn render-column screen: (addr screen), functions: (addr handle function), bindings: (addr table), scratch: (addr line), final-word: (addr word), top-row: int, left-col: int, cursor-path: (addr handle call-path-element), cursor-word: (addr word), cursor-col-a: (addr int) -> right-col/ecx: int {
+fn render-column screen: (addr screen), functions: (addr handle function), bindings: (addr table), scratch: (addr line), final-word: (addr word), top-row: int, left-col: int, cursor-word: (addr word), cursor-col-a: (addr int) -> right-col/ecx: int {
   var max-width/ecx: int <- copy 0
   {
     # indent stack