@class TSWPSelection, UIView, NSArray, TSDLayout, NSString, CAShapeLayer, CALayer, _TtC6TSText22TSWPSecondaryHighlight, NSMutableArray, TSWPStorage, TSUColor, TSWPSearchReference; @protocol TSWPLayoutTarget; @interface TSWPRep : TSDContainerRep <CAAnimationDelegate> { double _listLevelIndents[9]; CALayer *_textLayers[2]; CAShapeLayer *_caretLayer; CAShapeLayer *_selectionLineLayers[2]; CAShapeLayer *_selectionParagraphBorderLayer; CAShapeLayer *_selectionHighlightLayer; CAShapeLayer *_markHighlightLayer; CAShapeLayer *_smartFieldHighlightLayer; _TtC6TSText22TSWPSecondaryHighlight *_defaultSecondaryHighlight; NSMutableArray *_secondaryHighlights; BOOL _caretAnimationDisabled; BOOL _suppressCaret; struct _NSRange { unsigned long long location; unsigned long long length; } _suppressedMisspellingRange; BOOL _updatingHighlights; BOOL _selectionChanged; BOOL _markChanged; unsigned long long _newSelectionFlags; BOOL _repFieldsAreActive; BOOL _hudStateDirty; BOOL _invalidateHUDState; TSWPSelection *_dropSelection; BOOL _isShowingCommentKnobs; BOOL _tornDown; BOOL _searchHitsAreInvalid; } @property (readonly, nonatomic) struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } transformToConvertNaturalToScaledRoot; @property (retain, nonatomic) NSArray *searchReferences; @property (retain, nonatomic) CAShapeLayer *floatingCaretLayer; @property (nonatomic) BOOL dragAndDropCaretLayerIsForCaret; @property (copy, nonatomic) TSWPSelection *lastSelection; @property (retain, nonatomic) UIView *platformViewOverRenderable; @property (retain, nonatomic) TSUColor *overrideCaretColor; @property (retain, nonatomic) TSWPSearchReference *primaryFindResultSearchReference; @property (nonatomic) BOOL findIsShowing; @property (readonly, weak, nonatomic) TSDLayout<TSWPLayoutTarget> *layout; @property (readonly, nonatomic) BOOL textIsVertical; @property (readonly, nonatomic) TSWPStorage *storage; @property (readonly, nonatomic) NSArray *columns; @property (readonly, nonatomic) TSWPSelection *selection; @property (nonatomic, getter=isSelectionHighlightSuppressed) BOOL suppressSelectionHighlight; @property (nonatomic) BOOL suppressSelectionControls; @property (nonatomic) struct _NSRange { unsigned long long location; unsigned long long length; } dragRange; @property (readonly, nonatomic) BOOL isBeingEdited; @property (nonatomic) BOOL useKeyboardWhenEditing; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; + (void)initialize; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })range; - (void)dealloc; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRect; - (Class)layerClass; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })selectionRect; - (void)viewDidAppear; - (void)drawInContext:(struct CGContext { } *)a0; - (void).cxx_destruct; - (void)willBeRemoved; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })columnRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (BOOL)directlyManagesLayerContent; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })glyphRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 includingLabel:(BOOL)a1; - (BOOL)p_doesRep:(id)a0 containCharIndex:(unsigned long long)a1 isStart:(BOOL)a2; - (id)smartFieldAtPoint:(struct CGPoint { double x0; double x1; })a0; - (id)textLayer; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectForCharIndex:(unsigned long long)a0 caretAffinity:(long long)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectForCharIndex:(unsigned long long)a0 leadingEdge:(BOOL)a1 caretAffinity:(long long)a2; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })caretRectForSelection:(id)a0; - (unsigned long long)charCountOfGlyphStartingAtCharIndex:(unsigned long long)a0; - (id)closestColumnForPoint:(struct CGPoint { double x0; double x1; })a0; - (id)columnForCharIndex:(unsigned long long)a0; - (void)drawInLayerContext:(struct CGContext { } *)a0; - (void)drawRubyInContext:(struct CGContext { } *)a0 rubyFieldStart:(unsigned long long)a1 rubyGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2; - (id)footnoteMarkAttachmentAtPoint:(struct CGPoint { double x0; double x1; })a0; - (id)footnoteReferenceAttachmentAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)gesturesDidEnd; - (unsigned long long)glyphCountForRubyFieldAtCharIndex:(unsigned long long)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })glyphRectForRubyFieldAtCharIndex:(unsigned long long)a0 glyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (id)initWithLayout:(id)a0 canvas:(id)a1; - (BOOL)isOverflowing; - (BOOL)isPointInSelectedArea:(struct CGPoint { double x0; double x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })labelRectForCharIndex:(unsigned long long)a0; - (struct { struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x0; double x1; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x2; double x3; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x4; double x5; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x6; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x7; })lineMetricsAtCharIndex:(unsigned long long)a0; - (struct { struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x0; double x1; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x2; double x3; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x4; double x5; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x6; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x7; })lineMetricsAtPoint:(struct CGPoint { double x0; double x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })naturalBoundsRectForHyperlinkField:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_caretRectForSelection:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_convertNaturalRectToRotated:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 repAngle:(double)a1; - (void)p_drawTextInLayer:(id)a0 context:(struct CGContext { } *)a1 limitSelection:(id)a2 rubyGlyphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a3 renderMode:(unsigned long long)a4 suppressInvisibles:(BOOL)a5; - (id)p_hyperlinkAtPoint:(struct CGPoint { double x0; double x1; })a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_paragraphModeRectangleForColumn:(id)a0 selection:(id)a1; - (struct CGPoint { double x0; double x1; })p_pinPoint:(struct CGPoint { double x0; double x1; })a0 toRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (void)p_teardown; - (void)p_updateLayersForInsertionPointSelection:(id)a0; - (void)performBlockOnTextLayers:(id /* block */)a0; - (struct CGPoint { double x0; double x1; })pinToClosestColumn:(struct CGPoint { double x0; double x1; })a0; - (struct CGPoint { double x0; double x1; })pinToNaturalBounds:(struct CGPoint { double x0; double x1; })a0 andLastLineFragment:(BOOL)a1; - (id)rubyFieldAtPoint:(struct CGPoint { double x0; double x1; })a0; - (id)textBackgroundLayer; - (struct { struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x0; double x1; double x2; double x3; double x4; BOOL x5; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x6; })wordMetricsAtCharIndex:(unsigned long long)a0; - (unsigned int)fontTraitsForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 includingLabel:(BOOL)a1; - (void)recursivelyDrawInContext:(struct CGContext { } *)a0 limitSelection:(id)a1 suppressInvisibles:(BOOL)a2; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeOfDropCapAdornmentAtPoint:(struct CGPoint { double x0; double x1; })a0; - (BOOL)containsStartOfSelection:(id)a0; - (struct CGPath { } *)newPathForSelection:(id)a0; - (BOOL)p_allowCaretForSelection:(id)a0; - (void)p_drawInContext:(struct CGContext { } *)a0 limitSelection:(id)a1 suppressInvisibles:(BOOL)a2; - (BOOL)p_hasRenderableTextComments; - (BOOL)p_hasRenderableTextCommentsLookingForHighlights:(BOOL)a0; - (BOOL)p_hasRenderableTextHighlights; - (struct { struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x0; double x1; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x2; double x3; struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } x4; double x5; struct TSWPFontHeightInfo { double x0; double x1; double x2; double x3; double x4; double x5; double x6; double x7; double x8; double x9; double x10; double x11; } x6; struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } x7; })p_lineMetricsAtPoint:(struct CGPoint { double x0; double x1; })a0 allowNotFound:(BOOL)a1; - (void)p_refreshPlatformViewOverChildRenderables; - (void)p_registerNotifications; - (void)p_unregisterNotifications; - (id)platformViewLayersToMask; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })rectForSelection:(id)a0 includeRuby:(BOOL)a1 includePaginatedAttachments:(BOOL)a2; @end