fixed: backspace did not trigger scrolling properly

This commit is contained in:
daboe01
2018-04-05 21:36:32 +02:00
parent bab7595078
commit 927d6d2fc6
+1
View File
@@ -1614,6 +1614,7 @@ Sets the selection to a range of characters in response to user action.
[self didChangeText];
[_layoutManager _validateLayoutAndGlyphs];
[self sizeToFit];
[self scrollRangeToVisible:CPMakeRange(changedRange.location, 0)]
_stickyXLocation = _caret._rect.origin.x;
}