@class ICNote, NSMutableDictionary, ICAuthorHighlightsController, ICAttachmentInsertionController, NSMutableArray, ICMentionsController, ICTTTextStorage, ICHashtagController; @interface ICTextController : ICTTTextController { BOOL _isForPrint; } @property (nonatomic) unsigned long long pauseMergeForScrollingCounter; @property (nonatomic) BOOL shouldMergeNoteAfterScrolling; @property (nonatomic) BOOL isAutoListInsertionDisabled; @property (nonatomic) BOOL fullTextStylingRefreshScheduled; @property (retain, nonatomic) ICTTTextStorage *emptyTextStorage; @property (weak, nonatomic) ICNote *note; @property (weak, nonatomic) ICAttachmentInsertionController *attachmentInsertionController; @property (readonly, nonatomic) NSMutableDictionary *trackedToDoParagraphs; @property BOOL userChangedWritingDirection; @property (nonatomic) BOOL disableAddingExtraLinesIfNeeded; @property (retain, nonatomic) NSMutableArray *trackedRangesForAddedExtraNewlines; @property (nonatomic) BOOL trackAddedExtraNewlineRanges; @property (nonatomic) BOOL isConvertingTables; @property (nonatomic) unsigned long long overrideAppearanceType; @property (weak, nonatomic) ICAuthorHighlightsController *authorHighlightsController; @property (weak, nonatomic) ICMentionsController *mentionsController; @property (weak, nonatomic) ICHashtagController *hashtagController; + (id)attributedStringToPasteWithAdaptedParagraphStyles:(id)a0 pasteRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 textStorage:(id)a2; + (double)extraBulletWidthForNumberedListWithMaxItemNumber:(id)a0 textFont:(id)a1; + (double)extraWidthNeededForStyle:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 attributedString:(id)a2 textView:(id)a3; + (double)indentForStyle:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 attributedString:(id)a2 textView:(id)a3; + (id)removeBeginningListStyleIfNecessaryForAttributedString:(id)a0 fromTextStorage:(id)a1 andRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2; + (BOOL)shouldRetainFirstListStyleForFilteredAttributedSubstring:(id)a0 fromRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (id)init; - (void).cxx_destruct; - (long long)setTextStyle:(unsigned int)a0 removeExtraStyling:(BOOL)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 inTextStorage:(id)a3 inTextView:(id)a4; - (void)setSelectionToIndex:(unsigned long long)a0 onTextView:(id)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })addExtraLinesIfNeededToTextStorage:(id)a0 editedRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 actualLengthIncrease:(long long *)a2; - (id)addTableAttachmentWithNSTextTable:(id)a0 attributedString:(id)a1 filterPastedAttributes:(BOOL)a2 isReadingSelectionFromPasteboard:(BOOL)a3; - (void)addToTagsInTextView:(id)a0 forRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (BOOL)attachmentsExistInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 textStorage:(id)a1; - (BOOL)canAddToTagsInTextView:(id)a0 forRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (BOOL)canChangeStyleForSelectedRanges:(id)a0 inTextStorage:(id)a1; - (BOOL)canConvertInlineAttachmentToTextInTextView:(id)a0 forRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (BOOL)canIndentTextView:(id)a0 byDelta:(long long)a1; - (BOOL)canIndentTextView:(id)a0 byDelta:(long long)a1 forRanges:(id)a2; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })cleanupTextStorage:(id)a0 afterProcessingEditing:(unsigned long long)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 changeInLength:(long long)a3 changeInLengthAfterCleanup:(long long *)a4; - (BOOL)containsOnlyStyle:(unsigned int)a0 inRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (void)convertInlineAttachmentToTextInTextView:(id)a0 forRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)convertNSTablesToICTables:(id)a0 pasteboardTypes:(id)a1 filterPastedAttributes:(BOOL)a2 isReadingSelectionFromPasteboard:(BOOL)a3; - (void)createToDoItemForCharacterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 paragraphStyle:(id)a1 textStorage:(id)a2; - (BOOL)deleteBackwardForSpecialCasesInTextView:(id)a0; - (BOOL)deleteWordBackwardForSpecialCasesInTextView:(id)a0; - (void)filterAttachmentsForPrintingInAttributedString:(id)a0 textContainer:(id)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })firstParagraphForSetListStyleRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextStorage:(id)a1; - (void)fixModelAttributesInTextStorage:(id)a0 inRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)fixTextStorage:(id)a0 afterProcessingEditing:(unsigned long long)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 changeInLength:(long long)a3; - (id)indentParagraphStyle:(id)a0 byAmount:(long long)a1; - (void)indentRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 byAmount:(long long)a1 inTextStorage:(id)a2 textView:(id)a3; - (void)indentRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 byAmount:(long long)a1 inTextStorage:(id)a2 textView:(id)a3 forceUpdateAttributes:(BOOL)a4; - (BOOL)inlineAttachmentInTextView:(id)a0 atIndex:(unsigned long long)a1 outAttachment:(id *)a2; - (void)insertNewlineAtCharacterIndex:(unsigned long long)a0 textStorage:(id)a1; - (BOOL)insertNewlineForSpecialCasesInTextView:(id)a0; - (BOOL)insertedSpaceInTextView:(id)a0 replacementRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)insertedText:(id)a0 replacementRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextView:(id)a2 hashtagController:(id)a3 mentionsController:(id)a4 languageHasSpaces:(BOOL)a5 parentAttachment:(id)a6; - (void)insertedText:(id)a0 replacementRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextView:(id)a2 languageHasSpaces:(BOOL)a3; - (BOOL)isForPrint; - (BOOL)isTodoDoneRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextStorage:(id)a1; - (id)keyboardLanguageForTextView:(id)a0; - (void)notifyInlineAttachmentsDeletedInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 ofTextStorage:(id)a1; - (id)nsParagraphStyleForICTTParagraphStyle:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 attributedString:(id)a2 textView:(id)a3; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })numberListsInAttributedString:(id)a0 inRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)p_populateTable:(id)a0 withNSTextTable:(id)a1 attributedString:(id)a2 filterPastedAttributes:(BOOL)a3 isReadingSelectionFromPasteboard:(BOOL)a4; - (struct { unsigned long long x0; unsigned long long x1; })p_setCellsInTable:(id)a0 fromAttributedString:(id)a1 textTable:(id)a2 atCellOffset:(struct { unsigned long long x0; unsigned long long x1; })a3 filterPastedAttributes:(BOOL)a4 isReadingSelectionFromPasteboard:(BOOL)a5; - (unsigned int)paragraphStyleForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextView:(id)a1 inTextStorage:(id)a2; - (unsigned int)paragraphStyleForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextView:(id)a1 inTextStorage:(id)a2 ignoreTypingAttributes:(BOOL)a3; - (void)refreshTextStylingForTextStorage:(id)a0 withTextController:(id)a1; - (void)refreshTypingAttributesForAllTextViewsOfTextStorage:(id)a0; - (void)refreshTypingAttributesForTextView:(id)a0 textStorage:(id)a1; - (void)removeFontsAndColorsForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextStorage:(id)a1; - (BOOL)removeListStyleBeforeDeletingParagraphContentIfNecessaryForTextView:(id)a0 textStorage:(id)a1 rangeToBeDeleted:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 blockBeforeEndEditing:(id /* block */)a3; - (BOOL)removeListStyleForDeletingEmptyParagrahIfNecessaryForTextView:(id)a0 textStorage:(id)a1 paragraphRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 andLocation:(unsigned long long)a3; - (void)resetTrackedToDoParagraphs; - (id)scaleFont:(id)a0 withScale:(double)a1; - (void)scaleFontPointSize:(double)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (BOOL)selectionContainsBlockQuoteAndOthers:(id)a0; - (BOOL)setDone:(BOOL)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (void)setIsForPrint:(BOOL)a0; - (void)setNote:(id)a0 stylingTextUsingSeparateTextStorageForRendering:(BOOL)a1 withLayoutManager:(id)a2; - (void)setNote:(id)a0 stylingTextUsingSeparateTextStorageForRendering:(BOOL)a1 withLayoutManager:(id)a2 firstVisibleCharLocation:(unsigned long long)a3; - (void)setParagraphWritingDirectionInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 toDirection:(long long)a1 inTextView:(id)a2; - (long long)setTextStyle:(unsigned int)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (long long)setTextStyle:(unsigned int)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2 inTextView:(id)a3; - (long long)setTextStyle:(unsigned int)a0 removeExtraStyling:(BOOL)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2 inTextStorage:(id)a3; - (void)setTypingAttributesForUndo:(id)a0; - (void)setTypingTextStyle:(unsigned int)a0 textView:(id)a1; - (BOOL)shouldHighlightStyleAsLink:(unsigned int)a0; - (BOOL)shouldUpdateIndentFor:(id)a0; - (id)strippedTypingAttributesAtStartOfParagraph:(id)a0 atTheEndOfDocument:(BOOL)a1 isTyping:(BOOL)a2; - (void)styleDataDetectorTypesForPreviewInTextStorage:(id)a0; - (void)styleListsAndIndentsInAttributedString:(id)a0 inRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)superscriptDelta:(long long)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (void)superscriptUpdate:(id /* block */)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 inTextStorage:(id)a2; - (id)tabStopsForAttributedString:(id)a0; - (void)targetedRefreshTextStylingForTextStorage:(id)a0 withTextController:(id)a1 firstVisibleCharLocation:(unsigned long long)a2; - (id)todoForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextStorage:(id)a1; - (void)toggleBlockQuoteInTextView:(id)a0; - (void)trackExtraNewLineRangeIfNecessary:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (void)uniqueParagraphStylesInTextStorage:(id)a0 inRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (void)unscriptRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextStorage:(id)a1; - (void)updateAttachmentsInNote; - (void)updateAttachmentsSelectionStateInTextStorage:(id)a0 forSelectedRanges:(id)a1 layoutManager:(id)a2 textView:(id)a3; - (void)updateCellInTable:(id)a0 atColumnIndex:(unsigned long long)a1 rowIndex:(unsigned long long)a2 fromAttributedString:(id)a3 andTextTableBlock:(id)a4 filterPastedAttributes:(BOOL)a5 isReadingSelectionFromPasteboard:(BOOL)a6; - (void)updateParagraphWritingDirectionToKeyboardWritingDirectionInRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 textStorage:(id)a1 textView:(id)a2; - (void)updateTrackedAttributesInTextStorage:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 changeInLength:(long long)a2; - (void)updateTrackedToDoParagraphsAfterIndex:(unsigned long long)a0 byDelta:(long long)a1 excludingSeenParagraphs:(id)a2; - (void)updateTrackingInTextStorage:(id)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 changeInLength:(long long)a2; - (void)workAroundSageTables:(id)a0; - (long long)writingDirectionForRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0 inTextView:(id)a1 inTextStorage:(id)a2; @end