about summary refs log tree commit diff stats
path: root/edit/001-editor.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-19 10:43:09 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-19 10:43:09 -0700
commitdd30f56dbebc54957a87d100a53415de743c7f57 (patch)
tree7ee31d03668118f036e4c84e25061905d05c647d /edit/001-editor.mu
parent5d53e7d0c402ac6a5a928c0de9fd168ca6750f6e (diff)
downloadmu-dd30f56dbebc54957a87d100a53415de743c7f57.tar.gz
2977 - draw new sandbox menu in edit/
Doesn't work as advertised yet. This is just the render piece, and
fixing all the tests.

I've been careful to try to break tests for edit once I implement the
button. Delete I can't ensure will break afterwards. Remember to test
clicking on multiple places on the menu.

Managing the screens is starting to grow onerous; maybe we need
something called normalize which clears some things. But the sandbox
menu can be on arbitrary lines..
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r--edit/001-editor.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index 1d4b4ac2..68bb1775 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -222,7 +222,7 @@ def render screen:address:screen, editor:address:editor-data -> last-row:number,
   return row, column, screen/same-as-ingredient:0, editor/same-as-ingredient:1
 ]
 
-def clear-line-until screen:address:screen, right:number -> screen:address:screen [
+def clear-line-until screen:address:screen, right:number/inclusive -> screen:address:screen [
   local-scope
   load-ingredients
   _, column:number <- cursor-position screen