From 00868a186b1dbc424fb9ace644fd4ea7d38f22aa Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 14 Mar 2017 08:28:41 -0700 Subject: 3794 Fix a _very_ misleading comment. --- sandbox/005-sandbox.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sandbox/005-sandbox.mu') diff --git a/sandbox/005-sandbox.mu b/sandbox/005-sandbox.mu index 6b0098bb..d5bfbd62 100644 --- a/sandbox/005-sandbox.mu +++ b/sandbox/005-sandbox.mu @@ -408,7 +408,7 @@ def render-text screen:&:screen, s:text, left:num, right:num, color:num, row:num move-cursor screen, row, left ] -# like 'render' for texts, but with colorization for comments like in the editor +# like 'render-text', but with colorization for comments like in the editor def render-code screen:&:screen, s:text, left:num, right:num, row:num -> row:num, screen:&:screen [ local-scope load-ingredients @@ -426,7 +426,7 @@ def render-code screen:&:screen, s:text, left:num, right:num, row:num -> row:num done? <- greater-or-equal row, screen-height break-if done? c:char <- index *s, i - # only line different from render + # only line different from 'render-text' { # at right? wrap. at-right?:bool <- equal column, right -- cgit 1.4.1-2-gfad0