NSTextCheckingClient class interface
NSTextCheckingClient
- Implemented types
Constructors
- NSTextCheckingClient.castFrom(ObjCObjectBase other)
-
Constructs a NSTextCheckingClient that points to the same underlying object as
other. -
NSTextCheckingClient.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSTextCheckingClient that wraps the given raw object pointer.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- $protocol → Protocol
-
Returns the
objc.Protocolobject for this protocol.no setter -
addAnnotations_range_
→ ObjCProtocolListenableMethod<
void Function(NSDictionary, NSRange)> -
addAnnotations:range:
final
-
allowedWritingToolsResultOptions
→ ObjCProtocolMethod<
NSWritingToolsResultOptions Function()> -
allowedWritingToolsResultOptions
final
-
annotatedSubstringForProposedRange_actualRange_
→ ObjCProtocolMethod<
NSAttributedString? Function(NSRange, NSRangePointer)> -
annotatedSubstringForProposedRange:actualRange:
final
-
attributedString
→ ObjCProtocolMethod<
NSAttributedString Function()> -
attributedString
final
-
attributedSubstringForProposedRange_actualRange_
→ ObjCProtocolMethod<
NSAttributedString? Function(NSRange, NSRangePointer)> -
attributedSubstringForProposedRange:actualRange:
final
-
autocorrectionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
autocorrectionType
final
-
baselineDeltaForCharacterAtIndex_
→ ObjCProtocolMethod<
double Function(int display)> -
baselineDeltaForCharacterAtIndex:
final
-
candidateListTouchBarItem
→ ObjCProtocolMethod<
NSCandidateListTouchBarItem? Function()> -
candidateListTouchBarItem
final
-
characterIndexForPoint_
→ ObjCProtocolMethod<
DartNSInteger Function(NSPoint point)> -
characterIndexForPoint:
final
-
dataDetectionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
dataDetectionType
final
-
doCommandBySelector_
→ ObjCProtocolListenableMethod<
void Function(Pointer< ObjCSelector> aSelector)> -
doCommandBySelector:
final
-
documentVisibleRect
→ ObjCProtocolMethod<
CGRect Function()> -
documentVisibleRect
final
-
drawsVerticallyForCharacterAtIndex_
→ ObjCProtocolMethod<
bool Function(DartNSUInteger)> -
drawsVerticallyForCharacterAtIndex:
final
-
firstRectForCharacterRange_actualRange_
→ ObjCProtocolMethod<
NSRect Function(NSRange, NSRangePointer)> -
firstRectForCharacterRange:actualRange:
final
-
fractionOfDistanceThroughGlyphForPoint_
→ ObjCProtocolMethod<
DartCGFloat Function(NSPoint)> -
fractionOfDistanceThroughGlyphForPoint:
final
-
grammarCheckingType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
grammarCheckingType
final
-
hasMarkedText
→ ObjCProtocolMethod<
bool Function()> -
hasMarkedText
final
-
inlinePredictionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
inlinePredictionType
final
-
insertAdaptiveImageGlyph_replacementRange_
→ ObjCProtocolListenableMethod<
void Function(NSAdaptiveImageGlyph, NSRange)> -
insertAdaptiveImageGlyph:replacementRange:
final
-
insertText_replacementRange_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase, NSRange)> -
insertText:replacementRange:
final
-
linkDetectionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
linkDetectionType
final
-
markedRange
→ ObjCProtocolMethod<
NSRange Function()> -
markedRange
final
-
mathExpressionCompletionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
mathExpressionCompletionType
final
-
preferredTextAccessoryPlacement
→ ObjCProtocolMethod<
NSTextCursorAccessoryPlacement Function()> -
preferredTextAccessoryPlacement
final
-
removeAnnotation_range_
→ ObjCProtocolListenableMethod<
void Function(DartNSAttributedStringKey, NSRange)> -
removeAnnotation:range:
final
-
replaceCharactersInRange_withAnnotatedString_
→ ObjCProtocolListenableMethod<
void Function(NSRange, NSAttributedString)> -
replaceCharactersInRange:withAnnotatedString:
final
-
selectAndShowRange_
→ ObjCProtocolListenableMethod<
void Function(NSRange range)> -
selectAndShowRange:
final
-
selectedRange
→ ObjCProtocolMethod<
NSRange Function()> -
selectedRange
final
-
setAllowedWritingToolsResultOptions_
→ ObjCProtocolListenableMethod<
void Function(NSWritingToolsResultOptions)> -
setAllowedWritingToolsResultOptions:
final
-
setAnnotations_range_
→ ObjCProtocolListenableMethod<
void Function(NSDictionary, NSRange)> -
setAnnotations:range:
final
-
setAutocorrectionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setAutocorrectionType:
final
-
setDataDetectionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setDataDetectionType:
final
-
setGrammarCheckingType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setGrammarCheckingType:
final
-
setInlinePredictionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setInlinePredictionType:
final
-
setLinkDetectionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setLinkDetectionType:
final
-
setMarkedText_selectedRange_replacementRange_
→ ObjCProtocolListenableMethod<
void Function(ObjCObjectBase, NSRange, NSRange)> -
setMarkedText:selectedRange:replacementRange:
final
-
setMathExpressionCompletionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setMathExpressionCompletionType:
final
-
setSmartDashesType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setSmartDashesType:
final
-
setSmartInsertDeleteType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setSmartInsertDeleteType:
final
-
setSmartQuotesType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setSmartQuotesType:
final
-
setSpellCheckingType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setSpellCheckingType:
final
-
setTextCompletionType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setTextCompletionType:
final
-
setTextReplacementType_
→ ObjCProtocolListenableMethod<
void Function(NSTextInputTraitType)> -
setTextReplacementType:
final
-
setWritingToolsBehavior_
→ ObjCProtocolListenableMethod<
void Function(NSWritingToolsBehavior)> -
setWritingToolsBehavior:
final
-
smartDashesType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
smartDashesType
final
-
smartInsertDeleteType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
smartInsertDeleteType
final
-
smartQuotesType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
smartQuotesType
final
-
spellCheckingType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
spellCheckingType
final
-
supportsAdaptiveImageGlyph
→ ObjCProtocolMethod<
bool Function()> -
supportsAdaptiveImageGlyph
final
-
textCompletionType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
textCompletionType
final
-
textReplacementType
→ ObjCProtocolMethod<
NSTextInputTraitType Function()> -
textReplacementType
final
-
unionRectInVisibleSelectedRange
→ ObjCProtocolMethod<
CGRect Function()> -
unionRectInVisibleSelectedRange
final
-
unmarkText
→ ObjCProtocolListenableMethod<
void Function()> -
unmarkText
final
-
validAttributesForMarkedText
→ ObjCProtocolMethod<
NSArray Function()> -
validAttributesForMarkedText
final
-
viewForRange_firstRect_actualRange_
→ ObjCProtocolMethod<
NSView? Function(NSRange, NSRectPointer, NSRangePointer)> -
viewForRange:firstRect:actualRange:
final
-
windowLevel
→ ObjCProtocolMethod<
int Function()> -
windowLevel
final
-
writingToolsBehavior
→ ObjCProtocolMethod<
NSWritingToolsBehavior Function()> -
writingToolsBehavior
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextCheckingClient protocol to an existing
objc.ObjCProtocolBuilder.override -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextCheckingClient protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.override -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSTextCheckingClient protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.override -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSTextCheckingClient.override -
implement(
{required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextCheckingClient -
Builds an object that implements the NSTextCheckingClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly.override -
implementAsBlocking(
{required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextCheckingClient -
Builds an object that implements the NSTextCheckingClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be.override -
implementAsListener(
{required NSAttributedString? annotatedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required void setAnnotations_range_(NSDictionary, NSRange), required void addAnnotations_range_(NSDictionary, NSRange), required void removeAnnotation_range_(DartNSAttributedStringKey, NSRange), required void replaceCharactersInRange_withAnnotatedString_(NSRange, NSAttributedString), required void selectAndShowRange_(NSRange range), required NSView? viewForRange_firstRect_actualRange_(NSRange, NSRectPointer, NSRangePointer), required NSCandidateListTouchBarItem? candidateListTouchBarItem(), required void insertText_replacementRange_(ObjCObjectBase, NSRange), required void doCommandBySelector_(Pointer< ObjCSelector> aSelector), required void setMarkedText_selectedRange_replacementRange_(ObjCObjectBase, NSRange, NSRange), required void unmarkText(), required NSRange selectedRange(), required NSRange markedRange(), required bool hasMarkedText(), required NSAttributedString? attributedSubstringForProposedRange_actualRange_(NSRange, NSRangePointer), required NSArray validAttributesForMarkedText(), required NSRect firstRectForCharacterRange_actualRange_(NSRange, NSRangePointer), required DartNSInteger characterIndexForPoint_(NSPoint point), NSAttributedString attributedString()?, DartCGFloat fractionOfDistanceThroughGlyphForPoint_(NSPoint)?, DartCGFloat baselineDeltaForCharacterAtIndex_(DartNSUInteger)?, DartNSInteger windowLevel()?, bool drawsVerticallyForCharacterAtIndex_(DartNSUInteger)?, NSTextCursorAccessoryPlacement preferredTextAccessoryPlacement()?, NSRect unionRectInVisibleSelectedRange()?, NSRect documentVisibleRect()?, bool supportsAdaptiveImageGlyph()?, void insertAdaptiveImageGlyph_replacementRange_(NSAdaptiveImageGlyph, NSRange)?, NSTextInputTraitType autocorrectionType()?, void setAutocorrectionType_(NSTextInputTraitType)?, NSTextInputTraitType spellCheckingType()?, void setSpellCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType grammarCheckingType()?, void setGrammarCheckingType_(NSTextInputTraitType)?, NSTextInputTraitType smartQuotesType()?, void setSmartQuotesType_(NSTextInputTraitType)?, NSTextInputTraitType smartDashesType()?, void setSmartDashesType_(NSTextInputTraitType)?, NSTextInputTraitType smartInsertDeleteType()?, void setSmartInsertDeleteType_(NSTextInputTraitType)?, NSTextInputTraitType textReplacementType()?, void setTextReplacementType_(NSTextInputTraitType)?, NSTextInputTraitType dataDetectionType()?, void setDataDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType linkDetectionType()?, void setLinkDetectionType_(NSTextInputTraitType)?, NSTextInputTraitType textCompletionType()?, void setTextCompletionType_(NSTextInputTraitType)?, NSTextInputTraitType inlinePredictionType()?, void setInlinePredictionType_(NSTextInputTraitType)?, NSTextInputTraitType mathExpressionCompletionType()?, void setMathExpressionCompletionType_(NSTextInputTraitType)?, NSWritingToolsBehavior writingToolsBehavior()?, void setWritingToolsBehavior_(NSWritingToolsBehavior)?, NSWritingToolsResultOptions allowedWritingToolsResultOptions()?, void setAllowedWritingToolsResultOptions_(NSWritingToolsResultOptions)?, bool $keepIsolateAlive = true}) → NSTextCheckingClient -
Builds an object that implements the NSTextCheckingClient protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.override