diff options
author | Sandy Armstrong <sandy@xamarin.com> | 2019-09-27 21:33:40 +0300 |
---|---|---|
committer | Sandy Armstrong <sandy@xamarin.com> | 2019-09-27 21:33:40 +0300 |
commit | 4bdb1aa96cb205950b172d0ec137d20523fb2360 (patch) | |
tree | c5560d5720e43e397bb141420cec36aeda192a9e | |
parent | 992329b4de7af86bcbbda23ee449a48b55313155 (diff) |
Sync with vs-editor-core@5fa1f7f05
-rw-r--r-- | src/Editor/Text/Impl/EditorOperations/EditorOperations.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor/Text/Impl/EditorOperations/EditorOperations.cs b/src/Editor/Text/Impl/EditorOperations/EditorOperations.cs index 3b44210..3f6107d 100644 --- a/src/Editor/Text/Impl/EditorOperations/EditorOperations.cs +++ b/src/Editor/Text/Impl/EditorOperations/EditorOperations.cs @@ -4583,8 +4583,8 @@ namespace Microsoft.VisualStudio.Text.Operations.Implementation DisplayTextRange selectionRange = _editorPrimitives.Selection.Clone(); DisplayTextPoint startPoint = selectionRange.GetDisplayStartPoint(); DisplayTextPoint endPoint = selectionRange.GetDisplayEndPoint(); - startPoint.MoveTo(startPoint.StartOfViewLine); - endPoint.MoveToBeginningOfNextViewLine(); + startPoint.MoveTo(startPoint.StartOfLine); + endPoint.MoveToBeginningOfNextLine(); return startPoint.GetDisplayTextRange(endPoint); } |