formatting

This commit is contained in:
daboe01
2016-10-01 18:32:19 +02:00
parent 39a695959d
commit 47688bf016
+2 -1
View File
@@ -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);