From 8d2e1b7e4356d1ab21e8d2af07cd50dee5cdc281 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Tue, 31 Dec 2013 08:38:27 -0800 Subject: [PATCH] Selection::selectToEndOfLine acts on screen lines. --- src/selection.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection.coffee b/src/selection.coffee index 984d29849..cf4e54725 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -216,7 +216,7 @@ class Selection # Public: Selects all the text from the current cursor position to the end of # the line. selectToEndOfLine: -> - @modifySelection => @cursor.moveToEndOfLine() + @modifySelection => @cursor.moveToEndOfScreenLine() # Public: Selects all the text from the current cursor position to the # beginning of the word.