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 10:08:35 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-05 10:08:35 -0800
commit3895c4e9fcbd5e6222c88e431c90bfef87af99ea (patch)
tree526b0c7f2f4665ef4dbd014c016740b453fbff3f /edit/001-editor.mu
parentf7e7582507e42054c478724ac630d6e716a926ee (diff)
downloadmu-3895c4e9fcbd5e6222c88e431c90bfef87af99ea.tar.gz
2371 - layer 5 of edit
Diffstat (limited to 'edit/001-editor.mu')
-rw-r--r--edit/001-editor.mu3
1 files changed, 1 insertions, 2 deletions
diff --git a/edit/001-editor.mu b/edit/001-editor.mu
index b74b3ecf..4b8da7a8 100644
--- a/edit/001-editor.mu
+++ b/edit/001-editor.mu
@@ -80,8 +80,7 @@ recipe new-editor s:address:array:character, screen:address:screen, left:number,
 
 recipe insert-text editor:address:editor-data, text:address:array:character -> editor:address:editor-data [
   local-scope
-  editor:address:editor-data <- next-ingredient
-  text:address:array:character <- next-ingredient
+  load-ingredients
   # early exit if text is empty
   reply-unless text, editor/same-as-ingredient:0
   len:number <- length *text