From d81fcff20567a1d5e793e813bc761222885660b1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 11 Dec 2016 16:19:37 -0800 Subject: 3706 --- sandbox/003-shortcuts.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sandbox') diff --git a/sandbox/003-shortcuts.mu b/sandbox/003-shortcuts.mu index 4ea2b8cd..9d4200ce 100644 --- a/sandbox/003-shortcuts.mu +++ b/sandbox/003-shortcuts.mu @@ -1332,7 +1332,7 @@ def move-to-start-of-line editor:&:editor -> editor:&:editor [ # update before-cursor before-cursor:&:duplex-list:char <- get *editor, before-cursor:offset init:&:duplex-list:char <- get *editor, data:offset - # while not at start of line, move + # while not at start of line, move { at-start-of-text?:bool <- equal before-cursor, init break-if at-start-of-text? @@ -1501,7 +1501,7 @@ def move-to-end-of-line editor:&:editor -> editor:&:editor [ load-ingredients before-cursor:&:duplex-list:char <- get *editor, before-cursor:offset cursor-column:num <- get *editor, cursor-column:offset - # while not at start of line, move + # while not at start of line, move { next:&:duplex-list:char <- next before-cursor break-unless next # end of text -- cgit 1.4.1-2-gfad0