@class NSMutableDictionary, TSWPReferenceLibraryViewController, TSWPStorage, NSDictionary, TSDInteractiveCanvasController, TSWPSelection, TSWPCharacterStyle, UIView, TSKFidgetResolver, TSDAutoscroll, NSString, NSSet, NSAttributedString, TSWPInteractiveCanvasController, TSKSelection, UIPopoverController, TSKPopoverBasedViewController, NSArray, TSWPTextKnobTracker, TSDMultiPaneController; @protocol TSDTextSelection, TSDEditor, TSDAnnotationHosting, TSWPDismissBlockPopover; @interface TSWPEditingController : NSObject { unsigned long long _initialStorageChangeCount; TSWPReferenceLibraryViewController *_definitionViewController; UIPopoverController *_definitionPopoverController; TSKPopoverBasedViewController *_rubyTextViewController; BOOL _cancelRubyText; struct _NSRange { unsigned long long location; unsigned long long length; } _markedRange; unsigned long long _selectionAnchor; BOOL _tapAndLongPressIsPossible; BOOL _ignoreFutureImmediatePresses; struct _NSRange { unsigned long long location; unsigned long long length; } _originalSelectionRange; BOOL _magnifying; NSArray *_suggestions; BOOL _suppressEditMenu; unsigned long long _initialPressTextSelectionGranularity; BOOL _shouldShowEditMenuForInsertionPoint; BOOL _showNextEditMenu; struct CGPoint { double x; double y; } _knobToTouchOffset; TSWPTextKnobTracker *_knobTracker; BOOL _readyToEnd; TSKFidgetResolver *_fidgetResolver; BOOL _editMenuIsVisible; NSString *_mostRecentGestureKind; BOOL _gestureBeganWhenEditingBegan; BOOL _annotationWasShowingAtStartOfGesture; NSDictionary *_tapInfo; TSDMultiPaneController *_insertBreakPopoverController; NSMutableDictionary *_dictationInterpretations; NSMutableDictionary *_autocorrectedEntries; id _previousSelectedAnnotation; UIView *_inputViewForHidingKeyboard; } @property (nonatomic) BOOL coalescingText; @property (nonatomic) BOOL canCoalesceBreakingCharacters; @property (readonly, retain, nonatomic) TSWPStorage *storage; @property (readonly, nonatomic) TSWPInteractiveCanvasController *interactiveCanvasController; @property (nonatomic) BOOL canCoalesce; @property (nonatomic) BOOL isBecomingActive; @property (nonatomic) BOOL knobTracking; @property (nonatomic) unsigned long long knobTag; @property (nonatomic) struct CGPoint { double x; double y; } knobTrackingDragPoint; @property (nonatomic) unsigned int knobTrackingTapCount; @property (nonatomic) id hostEditor; @property (nonatomic) BOOL suppressBreaks; @property (nonatomic) BOOL suppressPhonetics; @property (nonatomic) BOOL suppressTabs; @property (nonatomic) BOOL disableInspector; @property (readonly, nonatomic) BOOL suppressesTextInspector; @property (nonatomic) BOOL supportsDataDetectors; @property (nonatomic) BOOL isEditingPlainText; @property (readonly, nonatomic) BOOL suppressDataDetectorsOnResignTextInput; @property (nonatomic) BOOL shouldDisplayKeyboard; @property (readonly, nonatomic) NSAttributedString *markedText; @property (nonatomic) unsigned long long insertionPoint; @property (readonly, nonatomic) TSWPCharacterStyle *insertionStyle; @property (readonly, nonatomic) unsigned long long currentSelectionFlags; @property (readonly, nonatomic) BOOL selectionLastModifiedWithKnob; @property (readonly, nonatomic) BOOL selectionLastModifiedWithKeyboard; @property (retain, nonatomic) TSWPSelection *selection; @property (readonly, nonatomic) TSDInteractiveCanvasController *icc; @property (retain, nonatomic) TSDAutoscroll *autoscroll; @property (nonatomic) struct CGPoint { double x; double y; } autoscrollPoint; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, retain, nonatomic) TSKSelection *textInputSelection; @property (readonly, nonatomic) struct _NSRange { unsigned long long x0; unsigned long long x1; } markedRange; @property (readonly, retain) UIView *inputView; @property (readonly, retain) UIView *inputAccessoryView; @property (readonly) BOOL wantsRawArrowKeyEvents; @property (retain, nonatomic) TSKSelection *selectionForArrowKeys; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingFill; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingStroke; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingShadow; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingReflection; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingOpacity; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingTextInset; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingConnectionLineAttributes; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingEndpoints; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingSmartShapeAttributes; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingResize; @property (readonly, nonatomic) NSSet *selectedObjectsSupportingShrinkTextToFit; + (id)_targetedDragPreviewForSelection:(id)a0 interactiveCanvasController:(id)a1 reps:(id)a2 applyScale:(BOOL)a3 imageFrameUnion:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a4; + (id)dragItemForHitRepWithDragInteraction:(id)a0 session:(id)a1 canvasView:(id)a2 icc:(id)a3 withTouchPoint:(struct CGPoint { double x0; double x1; })a4; + (id)dropProposalForSession:(id)a0; + (id)previewForDragItem:(id)a0; + (id)retargetedDragItem:(id)a0 withDefault:(id)a1 canvasView:(id)a2 icc:(id)a3; - (long long)returnKeyType; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })firstRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)select:(id)a0; - (void)selectAll:(id)a0; - (id)selectionRectsForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)replaceRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 withText:(id)a1; - (void)dealloc; - (void)teardown; - (void)endEditing; - (id)textInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)model; - (void)didEnterBackground; - (void)willEnterForeground; - (BOOL)handleGesture:(id)a0; - (id)tracker; - (void)copy:(id)a0; - (void)insertText:(id)a0; - (unsigned long long)textLength; - (void)deleteBackward; - (void)setMarkedText:(id)a0 selectedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (id)styleProvider; - (void)autoscrollWillNotStart; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })editRange; - (void)deleteForward; - (void)replaceAction:(id)a0; - (void)styleAction:(id)a0; - (void)asyncProcessChanges:(id)a0 forChangeSource:(id)a1; - (BOOL)canAddOrShowComment; - (int)canPerformEditorAction:(SEL)a0 withSender:(id)a1; - (id)documentRoot; - (id)editingReps; - (id)editorKeyboardLanguage; - (BOOL)isParagraphModeWithSelection:(id)a0 onStorage:(id)a1; - (id)selectionWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)tappedOnKnob:(id)a0; - (BOOL)wantsCaret; - (BOOL)wantsKeyboard; - (void)operationDidEnd; - (void)p_endAutoscroll; - (void)p_setSelection:(id)a0 withFlags:(unsigned long long)a1 force:(BOOL)a2; - (void)revertLastSelectionChangeIfElapsedTimeIsUnderPinFidgetThreshold; - (void)cancelKnobTrackingAndMagnifying; - (BOOL)isUnscaledPointInTextSelection:(struct CGPoint { double x0; double x1; })a0; - (struct CGPoint { double x0; double x1; })p_clampPointToLine:(struct CGPoint { double x0; double x1; })a0 trackingRep:(id)a1; - (void)p_postWillStyleTextNotification; - (BOOL)shouldShowSelectedTextAsFocused; - (id)_addSelectionRectsForLayout:(id)a0 selection:(id)a1; - (id)_repsForStorage:(id)a0 selection:(id)a1; - (void)abandonMarkedText; - (void)addAllDictationInterpretationRangesInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 toRanges:(void *)a1; - (BOOL)allowAutomaticTextEditingToBeginWithDifferentEditor; - (BOOL)allowTrackerManipulatorToTakeControl:(id)a0; - (void)beginAutomaticTextEditingIfNeededForPoint:(struct CGPoint { double x0; double x1; })a0; - (id)calculateVisualRunsFromSelection:(id)a0 updateControllerSelection:(BOOL)a1; - (BOOL)canAcceptOrRejectChange; - (BOOL)canCenterHUD; - (BOOL)canHandleGesture:(id)a0; - (BOOL)canHandleSwipeGestureForGestureRecognizer:(id)a0 outDelta:(long long *)a1 outTextDirection:(long long *)a2 outLayoutDirection:(long long *)a3; - (BOOL)canHighlightCurrentSelection; - (BOOL)canRemoveHighlightForCurrentSelection; - (BOOL)canSetWritingDirection:(int)a0; - (BOOL)canShowCommentForCurrentSelectionGetHighlight:(id *)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)cancelPhoneticsHUDAnimated:(BOOL)a0; - (unsigned long long)charIndexByMovingPosition:(id)a0 toBoundary:(long long)a1 inDirection:(long long)a2 preferPosition:(double *)a3; - (unsigned long long)charIndexInRep:(id)a0 fromPoint:(struct CGPoint { double x0; double x1; })a1 allowPastBreak:(BOOL)a2 allowNotFound:(BOOL)a3 isAtEndOfLine:(BOOL *)a4; - (unsigned long long)charIndexInRep:(id)a0 fromPoint:(struct CGPoint { double x0; double x1; })a1 allowPastBreak:(BOOL)a2 allowNotFound:(BOOL)a3 pastCenterGoesToNextChar:(BOOL)a4 isAtEndOfLine:(BOOL *)a5; - (unsigned long long)charIndexInRep:(id)a0 fromPoint:(struct CGPoint { double x0; double x1; })a1 allowPastBreak:(BOOL)a2 isAtEndOfLine:(BOOL *)a3 leadingEdge:(BOOL *)a4; - (unsigned long long)charIndexMovingByCharacterFromCharIndex:(unsigned long long)a0 inDirection:(long long)a1; - (unsigned long long)charIndexMovingByCharacterFromCharIndex:(unsigned long long)a0 leadingEdge:(BOOL *)a1 inDirection:(long long)a2; - (unsigned long long)charIndexMovingByWordFromCharIndex:(unsigned long long)a0 inDirection:(long long)a1; - (id)characterStyleForDeletedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)clearMarkedRange; - (unsigned long long)closestCharIndexToPoint:(struct CGPoint { double x0; double x1; })a0 isAtEndOfLine:(BOOL *)a1; - (void)copyObject:(id)a0; - (void)copyToPasteboard:(id)a0; - (unsigned long long)countOfHyperlinksInUserSelection; - (id)currentFontColor; - (id)currentLayoutParent; - (void)customSelect:(id)a0; - (void)customSelectAll:(id)a0; - (void)definitionAction:(id)a0; - (id)dictationInterpretationsAtCharIndex:(unsigned long long)a0 outRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)didBecomeCurrentEditor; - (void)didBecomeTextInputEditor; - (void)dismissActivePopovers; - (void)dismissPhoneticsHUDAnimated:(BOOL)a0; - (id)dragItemForCurrentSelectionWithDragInteraction:(id)a0 session:(id)a1 withTouchPoint:(struct CGPoint { double x0; double x1; })a2; - (id)editingSearchReference; - (BOOL)editorCanHideEditMenu; - (BOOL)editorKeyboardLanguageIsRTL; - (void)endEditingAndSelectParent:(id)a0; - (void)extendSelectionLeft; - (void)extendSelectionRight; - (id)extendSelectionToParagraphs:(id)a0; - (id)extraMenuItems; - (void)gestureSequenceDidEnd; - (void)gestureSequenceWillBegin; - (id)initWithStorage:(id)a0 interactiveCanvasController:(id)a1; - (void)invalidateSelectionVisualRuns; - (BOOL)isCharIndex:(unsigned long long)a0 withEolAffinity:(BOOL)a1 atBoundary:(long long)a2 inDirection:(long long)a3; - (BOOL)isCharIndex:(unsigned long long)a0 withinTextUnit:(long long)a1 inDirection:(long long)a2; - (BOOL)isDisplayingPhoneticsHUD; - (BOOL)isInParagraphMode; - (BOOL)isSelectionSingleAnchoredDrawableAttachment; - (id)logicalToVisualSelection:(id)a0; - (void)noReplacementsFound:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })overrideCaretRectForSelection:(id)a0; - (BOOL)pIsSelectionPlaceHolderText; - (BOOL)pIsSelectionPlaceHolderTextWithSelection:(id)a0; - (BOOL)pStorageCanAcceptDrawableAttachments; - (unsigned long long)p_LeftCharForInsertion:(const struct { struct TSWPLineFragment *x0; struct TSWPLineFragment *x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; BOOL x6; BOOL x7; } *)a0; - (unsigned long long)p_MoveByLineRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 up:(BOOL)a1; - (void)p_addCommonEditItemsIntoMenu:(id)a0; - (void)p_addInsertItemsIntoMenu:(id)a0; - (void)p_adjustSelection:(id)a0 withOtherSelection:(id)a1 textSelectionGranularity:(unsigned long long)a2; - (void)p_adjustSelection:(id)a0 withUnscaledCanvasPoint:(struct CGPoint { double x0; double x1; })a1 textSelectionGranularity:(unsigned long long)a2 isTapHold:(BOOL)a3 allowPastBreak:(BOOL)a4; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })p_adjustVisualSelection:(id)a0 withOtherSelection:(id)a1; - (unsigned long long)p_adjustedCharIndexForWordTestingFromCharIndex:(unsigned long long)a0 forDirection:(long long)a1; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_adjustedPopoverTargetRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)p_beginKnobTrackingSelection:(id)a0 forRep:(id)a1 atPoint:(struct CGPoint { double x0; double x1; })a2; - (void)p_beginMagnification:(id)a0 forRep:(id)a1 atPoint:(struct CGPoint { double x0; double x1; })a2; - (void)p_beginOperationAndTakeControl; - (void)p_beginTapAndLongPress:(id)a0; - (BOOL)p_canEditTextString; - (BOOL)p_canInsertBreak; - (int)p_canPerformOptInEditorAction:(SEL)a0 withSender:(id)a1; - (BOOL)p_canSelectAllWithSender:(id)a0; - (void)p_cancelDelayedSelectors; - (void)p_cancelTapAndLongPressPreviousSelector; - (unsigned long long)p_caretCharIndexForLayoutOrderCharIndex:(unsigned long long)a0 inDirection:(long long)a1; - (unsigned long long)p_charIndexAtPoint:(struct CGPoint { double x0; double x1; })a0 isAtEndOfLine:(BOOL *)a1; - (unsigned long long)p_charIndexByMovingCharIndex:(unsigned long long)a0 withEolAffinity:(BOOL *)a1 toBoundary:(int)a2 inDirection:(long long)a3 preferPosition:(double *)a4 isLeadingEdge:(BOOL *)a5; - (void)p_clearEditMenuFlags; - (void)p_clearSecondaryHighlight; - (id)p_columnForCharIndex:(unsigned long long)a0; - (id)p_columnForCharIndex:(unsigned long long)a0 withStorage:(id)a1; - (id)p_containingShapeRep; - (void)p_createKnobTracker:(id)a0 forRep:(id)a1 tapCount:(unsigned long long)a2; - (struct __CFStringTokenizer { } *)p_createTokenizerForCharIndex:(unsigned long long)a0 outTokenizerRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)p_dismissDefinitionPopover; - (id)p_documentViewController; - (id)p_editingRepForCharIndex:(unsigned long long)a0; - (double)p_effectiveFontSizeForCurrentSelection; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })p_expandParagraphRangeForEnumerator:(struct TSWPParagraphEnumerator { id x0; id x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; BOOL x6; } *)a0; - (id)p_extendSelectionToIncludeSmartFields:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_firstRectForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 actualRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (unsigned long long)p_getVisualDeletionIndexForSelection:(id)a0 backward:(BOOL *)a1; - (unsigned long long)p_getVisualInsertionPointIndexForString:(id)a0 selection:(id)a1; - (void)p_handleKnobDragGestureRecognizer:(id)a0; - (void)p_handleLongPressGesture:(id)a0; - (void)p_handleSwipeMoveCaretWithTextGranularity:(long long)a0 textDirection:(long long)a1 layoutDirection:(long long)a2; - (void)p_handleTapAndTouchGesture:(id)a0; - (void)p_handleTapGestures:(id)a0; - (void)p_highlightRubyTextWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)p_highlightSelectionForSelection:(id)a0; - (BOOL)p_hitListLabelAtCharIndex:(unsigned long long)a0 atNaturalPoint:(struct CGPoint { double x0; double x1; })a1 inRep:(id)a2; - (id)p_hitRepWithPoint:(struct CGPoint { double x0; double x1; })a0 keyboardAdjustmentDelta:(double)a1; - (void)p_inputLanguageDidChangeNotification:(id)a0; - (BOOL)p_isCharIndex:(unsigned long long)a0 withEolAffinity:(BOOL)a1 atBoundary:(int)a2 inDirection:(long long)a3; - (BOOL)p_isCharIndex:(unsigned long long)a0 withinTextUnit:(int)a1 inDirection:(long long)a2; - (BOOL)p_isIgnoringKeyboardInput; - (BOOL)p_isLayoutLeftToRightAtCharIndex:(unsigned long long)a0; - (BOOL)p_isTextInputEditor; - (BOOL)p_keyboardShouldShowOnscreen; - (const void *)p_lastVisibleLineFragmentForCharIndex:(unsigned long long)a0 eol:(BOOL)a1; - (unsigned long long)p_layoutOrderCharIndexForCaretCharIndex:(unsigned long long)a0 inDirection:(long long)a1; - (id)p_layoutTargetForCharIndex:(unsigned long long)a0 eolAffinity:(BOOL)a1; - (unsigned long long)p_leftEdgeForSelection:(id)a0 withLeadingEdge:(BOOL *)a1; - (const void *)p_lineFragmentForCharIndex:(unsigned long long)a0 column:(id *)a1 eol:(BOOL)a2; - (const void *)p_lineFragmentWithCaretInfo:(struct { unsigned long long x0; BOOL x1; BOOL x2; int x3; unsigned long long x4; BOOL x5; int x6; unsigned long long x7; BOOL x8; int x9; } *)a0 forSelection:(id)a1; - (unsigned long long)p_lineIndexForCharIndex:(unsigned long long)a0 column:(id *)a1 eol:(BOOL)a2; - (int)p_moveFromCharIndex:(unsigned long long *)a0 tokenizerRef:(struct __CFStringTokenizer **)a1 tokenizerRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a2 direction:(long long)a3 currentWordRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a4 newWordRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a5 reasonToStop:(unsigned int)a6; - (const void *)p_nearestLineFragmentWithSameVerticalPositionAs:(unsigned long long)a0 xPos:(double)a1 inColumn:(id)a2; - (void)p_postSelectionContentsChangedNotification; - (id)p_previousAutocorrectionForWordAtCharIndex:(unsigned long long)a0 outRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)p_removeAutocorrectionAtCharIndex:(unsigned long long)a0; - (id)p_repForSwipeAtUnscaledLocation:(struct CGPoint { double x0; double x1; })a0; - (void)p_rescheduleDelayedUpdateHUDState; - (BOOL)p_respondsToHyperlinkGestures; - (BOOL)p_respondsToListGestures; - (BOOL)p_respondsToRubyGestures; - (unsigned long long)p_rightEdgeForSelection:(id)a0 withLeadingEdge:(BOOL *)a1; - (void)p_selection:(id)a0 toGlyphRange:(struct { struct TSWPLineFragment *x0; struct TSWPLineFragment *x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned long long x5; BOOL x6; BOOL x7; } *)a1; - (id)p_selectionForRep:(id)a0 point:(struct CGPoint { double x0; double x1; })a1 textSelectionGranularity:(unsigned long long)a2 isTapHold:(BOOL)a3 precise:(BOOL)a4 includeListLabels:(BOOL)a5 allowPastBreak:(BOOL)a6 selectsEntireLink:(BOOL)a7; - (id)p_selectionFromUnscaledCanvasPoint:(struct CGPoint { double x0; double x1; })a0 textSelectionGranularity:(unsigned long long)a1 isTapHold:(BOOL)a2 allowPastBreak:(BOOL)a3 selectsEntireLink:(BOOL)a4; - (BOOL)p_selectionIsSimpleInsertionPoint; - (void)p_sendHandleTapNotification; - (void)p_setInsertionStyle:(id)a0; - (void)p_setRevertibleSelection:(id)a0; - (void)p_setSelectionFromPoint:(struct CGPoint { double x0; double x1; })a0 textSelectionGranularity:(unsigned long long)a1 includeListLabels:(BOOL)a2; - (void)p_setTappedSelection:(id)a0; - (void)p_suppressSelectionHighlight:(BOOL)a0; - (void)p_switchToReplaceSelection; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })p_targetRectForSelection:(id)a0; - (void)p_updateHUDState; - (id)p_viewControllerForPresenting; - (id)p_wordRangesForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (int)p_writingDirectionForCharAtIndex:(unsigned long long)a0; - (id)pasteboardController; - (void)popoverControllerDidDismissPopoverBasedViewController:(id)a0; - (void)protectedStopMagnification; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeOfWordEnclosingCharIndex:(unsigned long long)a0 backward:(BOOL)a1; - (BOOL)readyToEndOperation; - (void)referenceLibrarayViewControllerWasDismissed:(id)a0; - (void)selectionChangedWithFlags:(unsigned long long)a0 wpFlags:(unsigned long long)a1; - (id)selectionForRep:(id)a0 point:(struct CGPoint { double x0; double x1; })a1 textSelectionGranularity:(unsigned long long)a2; - (id)selectionFromUnscaledCanvasPoint:(struct CGPoint { double x0; double x1; })a0 textSelectionGranularity:(unsigned long long)a1 isTapHold:(BOOL)a2 allowPastBreak:(BOOL)a3 selectsEntireLink:(BOOL)a4; - (BOOL)selectionIsOnEmptyParagraph; - (void)setInsertionPoint:(unsigned long long)a0 withFlags:(unsigned long long)a1; - (void)setSelection:(id)a0 withFlags:(unsigned long long)a1; - (void)setSelectionWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 endOfLine:(BOOL)a1; - (void)setSelectionWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 leadingEdge:(BOOL)a1 endOfLine:(BOOL)a2; - (BOOL)shouldShowEditMenu; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })smartDeletionSelection:(id)a0 isVisual:(BOOL *)a1; - (id)stringFromSelection; - (BOOL)swipeableParagraphIsSelected; - (void)tappedInRep:(id)a0 point:(struct CGPoint { double x0; double x1; })a1 tapCount:(unsigned long long)a2 isTapHold:(BOOL)a3 precise:(BOOL)a4; - (double)targetPointSizeForSelectionWithViewScale:(double)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })targetRectForSelection:(id)a0; - (id)textColorAtCharIndex:(unsigned long long)a0; - (BOOL)textEditingSupportsFormatBar; - (id)textFontAtCharIndex:(unsigned long long)a0; - (BOOL)textIsVerticalAtCharIndex:(unsigned long long)a0; - (unsigned long long)textSelectionGranularityForTapCount:(unsigned long long)a0; - (BOOL)textStorage:(id)a0 hasWhitespaceBoundedWordAtSelection:(id)a1; - (id)topLevelInspectorAutosaveName; - (BOOL)trackingKnobInParagraphMode; - (id)tsax_listItemLabelForCharIndex:(unsigned long long)a0 textIsLiteral:(BOOL *)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })tsax_rangeOfLineFragmentAtCharIndex:(unsigned long long)a0; - (id)unfilteredText; - (void)updateAfterAutoscroll:(id)a0; - (void)updateHUDState; - (int)valueForWritingDirectionPropertyForInspector:(id)a0; - (double)viewScaleForSelectionWithTargetPointSize:(double)a0; - (BOOL)wantsDoneButtonWhenEditing; - (void)willBeginMagnification; - (void)willResignCurrentEditor; - (void)willResignTextInputEditor; - (void)willResignTextInputEditorAndDeselect:(BOOL)a0; - (long long)writingDirectionForCharIndex:(unsigned long long)a0; @end