Add an experimental framesetter cache in ASTextNode2 (#1063)

* Add an experimental framesetter cache in ASTextNode2, and stop keeping framesetters around

* Update configuration schema

* Fix imports

* Fix import again and remove set statement
This commit is contained in:
Adlai Holler
2018-08-04 07:33:53 -07:00
committed by GitHub
parent c5b1d09b49
commit b136e84b4e
6 changed files with 73 additions and 17 deletions

View File

@@ -225,8 +225,6 @@ AS_EXTERN const CGSize ASTextContainerMaxSize;
@property (nonatomic, readonly) NSAttributedString *text;
///< The text range in full text
@property (nonatomic, readonly) NSRange range;
///< CTFrameSetter
@property (nonatomic, readonly) CTFramesetterRef frameSetter;
///< CTFrame
@property (nonatomic, readonly) CTFrameRef frame;
///< Array of `ASTextLine`, no truncated