diff --git a/AppKit/CPTextView/CPTextView.j b/AppKit/CPTextView/CPTextView.j index 6d3623103..39c4d83d0 100644 --- a/AppKit/CPTextView/CPTextView.j +++ b/AppKit/CPTextView/CPTextView.j @@ -945,9 +945,10 @@ var kDelegateRespondsTo_textShouldBeginEditing rangeToHide = CPMakeRange(0, _selectionRange.location - lineBeginningIndex), dragPlaceholder; + // hide the left part of the first line of the selection that is not included [placeholderString addAttribute:CPForegroundColorAttributeName value:[CPColor colorWithRed:1 green:1 blue:1 alpha:0] - range:CPMakeRangeCopy(rangeToHide)]; + range:rangeToHide]; _movingSelection = CPMakeRange(_startTrackingLocation, 0);