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 /edit | |
parent | 294b2ab35983ebe95698835bb54bca8bd3eec101 (diff) | |
download | mu-d81fcff20567a1d5e793e813bc761222885660b1.tar.gz |
3706
Diffstat (limited to 'edit')
-rw-r--r-- | edit/003-shortcuts.mu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit/003-shortcuts.mu b/edit/003-shortcuts.mu index 1b352fdd..941d316d 100644 --- a/edit/003-shortcuts.mu +++ b/edit/003-shortcuts.mu @@ -1357,7 +1357,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? @@ -1526,7 +1526,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 |