diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-12-11 16:19:37 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-12-11 16:19:37 -0800 |
commit | d81fcff20567a1d5e793e813bc761222885660b1 (patch) | |
tree | 6733adff9f1b231c21c9caeb7705d712e77b3762 /sandbox | |
parent | 294b2ab35983ebe95698835bb54bca8bd3eec101 (diff) | |
download | mu-d81fcff20567a1d5e793e813bc761222885660b1.tar.gz |
3706
Diffstat (limited to 'sandbox')
-rw-r--r-- | sandbox/003-shortcuts.mu | 4 |
1 files changed, 2 insertions, 2 deletions
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 |