diff options
Diffstat (limited to 'select.lua')
-rw-r--r-- | select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/select.lua b/select.lua index 60614f8..b7cf65f 100644 --- a/select.lua +++ b/select.lua @@ -128,7 +128,7 @@ function Text.delete_selection_without_undo(State) State.cursor1.pos = minp if Text.lt1(State.cursor1, State.screen_top1) then State.screen_top1.line = State.cursor1.line - State.screen_top1.pos = Text.pos_at_start_of_cursor_screen_line(State) + State.screen_top1.pos = Text.pos_at_start_of_screen_line(State, State.cursor1) end State.selection1 = {} -- delete everything between min (inclusive) and max (exclusive) |