diff --git a/src/AvaloniaEdit/Editing/SelectionMouseHandler.cs b/src/AvaloniaEdit/Editing/SelectionMouseHandler.cs index 9b68efd8..ed5d76f1 100644 --- a/src/AvaloniaEdit/Editing/SelectionMouseHandler.cs +++ b/src/AvaloniaEdit/Editing/SelectionMouseHandler.cs @@ -702,7 +702,7 @@ private void ExtendSelectionToMouse(PointerEventArgs e) TextArea.Caret.Offset = newWord.Offset < _startWord.Offset ? newWord.Offset : Math.Max(newWord.EndOffset, _startWord.EndOffset); } } - TextArea.Caret.BringCaretToView(0); + TextArea.Caret.BringCaretToView(5.0); } #endregion