about summary refs log tree commit diff stats
path: root/sandbox/001-editor.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-13 23:49:17 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-13 23:49:17 -0700
commit726d322b8f86da6422a893a3c922b19b71367185 (patch)
treeb763523f94aa588c11fcdd0967bcaee5d282eef8 /sandbox/001-editor.mu
parent431bbb1aa7944c5b67fa25d833d7ca992f72511d (diff)
downloadmu-726d322b8f86da6422a893a3c922b19b71367185.tar.gz
3347
Done using 'text' type abbreviation everywhere.

There's still a problem. If we define a function with a type
abbreviation and then redefine it without, I think we end up creating
separate variants. That seems wrong. Let's isolate a scenario for that
next.
Diffstat (limited to 'sandbox/001-editor.mu')
-rw-r--r--sandbox/001-editor.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/001-editor.mu b/sandbox/001-editor.mu
index afa7d953..83bd5edf 100644
--- a/sandbox/001-editor.mu
+++ b/sandbox/001-editor.mu
@@ -48,7 +48,7 @@ container editor-data [
 # creates a new editor widget and renders its initial appearance to screen
 #   top/left/right constrain the screen area available to the new editor
 #   right is exclusive
-def new-editor s:address:array:character, screen:address:screen, left:number, right:number -> result:address:editor-data, screen:address:screen [
+def new-editor s:text, screen:address:screen, left:number, right:number -> result:address:editor-data, screen:address:screen [
   local-scope
   load-ingredients
   # no clipping of bounds