[ASTextNode] Ensure that isTruncated computes the correct value when sizing fast-path is used. (#2550) (#2763)

* Fix fast-path isTruncated.

* Clean up formatting; remove extra char.
This commit is contained in:
Adlai Holler
2016-12-13 14:01:50 -05:00
committed by GitHub
parent 8920b60dcd
commit f637392a77
3 changed files with 18 additions and 1 deletions

View File

@@ -85,6 +85,11 @@
*/
- (NSUInteger)lineCount;
/**
Whether or not the text is truncated.
*/
- (BOOL)isTruncated;
@end
@interface ASTextKitRenderer (ASTextKitRendererConvenience)