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>2015-11-05 09:03:00 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-05 09:18:09 -0800
commitf7e7582507e42054c478724ac630d6e716a926ee (patch)
treeb48699c613a1936d11a648ae8fabad7ad0f33567 /edit/001-editor.mu
parent805a476150590ecf5c9eeca791db1f6aa1b4787a (diff)
downloadmu-f7e7582507e42054c478724ac630d6e716a926ee.tar.gz
2370 - layers 1-4 of edit are back
One nice consequence of all my deduction of reply ingredients is that I
can insert the same fragment into recipes with different headers, and
everything works as long as reply instructions are implicitly deduced.

One thing I had to fix to make this work was to move reply-deduction out
of rewrite rules and turn it into a first-class transform, so that it
happens after tangling.

I'm glad to see the back of that hack inside <scroll-down>.
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r--edit/001-editor.mu3
1 files changed, 0 insertions, 3 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index e7596c7f..b74b3ecf 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -125,8 +125,6 @@ scenario editor-initializes-without-data [
   ]
 ]
 
-# last-row:number, last-column:number, screen, editor <- render screen:address:screen, editor:address:editor-data
-#
 # Assumes cursor should be at coordinates (cursor-row, cursor-column) and
 # updates before-cursor to match. Might also move coordinates if they're
 # outside text.
@@ -412,7 +410,6 @@ after <character-c-received> [
   color <- get-color color, c
 ]
 
-# color <- get-color color:number, c:character
 # so far the previous color is all the information we need; that may change
 recipe get-color color:number, c:character -> color:number [
   local-scope