|
|
|
@ -475,7 +475,7 @@ namespace Perspex.Controls |
|
|
|
var selectionEnd = this.SelectionEnd; |
|
|
|
var start = Math.Min(selectionStart, selectionEnd); |
|
|
|
var end = Math.Max(selectionStart, selectionEnd); |
|
|
|
if (start == end || (this.Text?.Length ?? 0) <= end) |
|
|
|
if (start == end || (this.Text?.Length ?? 0) < end) |
|
|
|
{ |
|
|
|
return ""; |
|
|
|
} |
|
|
|
|