NSTextViewDelegate class interface

NSTextViewDelegate

Implemented types
Implementers

Constructors

NSTextViewDelegate.castFrom(ObjCObjectBase other)
Constructs a NSTextViewDelegate that points to the same underlying object as other.
NSTextViewDelegate.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTextViewDelegate 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.Protocol object for this protocol.
no setter
textDidBeginEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidBeginEditing:
final
textDidChange_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidChange:
final
textDidEndEditing_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textDidEndEditing:
final
textShouldBeginEditing_ → ObjCProtocolMethod<bool Function(NSText)>
textShouldBeginEditing:
final
textShouldEndEditing_ → ObjCProtocolMethod<bool Function(NSText)>
textShouldEndEditing:
final
textView_candidates_forSelectedRange_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSArray, NSRange)>
textView:candidates:forSelectedRange:
final
textView_candidatesForSelectedRange_ → ObjCProtocolMethod<NSArray? Function(NSTextView, NSRange)>
textView:candidatesForSelectedRange:
final
textView_clickedOnCell_inRect_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect)>
textView:clickedOnCell:inRect:
final
textView_clickedOnCell_inRect_atIndex_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)>
textView:clickedOnCell:inRect:atIndex:
final
textView:clickedOnLink:
final
textView:clickedOnLink:atIndex:
final
textView_completions_forPartialWordRange_indexOfSelectedItem_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSArray, NSRange, Pointer<NSInteger>)>
textView:completions:forPartialWordRange:indexOfSelectedItem:
final
textView_didCheckTextInRange_types_options_results_orthography_wordCount_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)>
textView:didCheckTextInRange:types:options:results:orthography:wordCount:
final
textView_doCommandBySelector_ → ObjCProtocolMethod<bool Function(NSTextView, Pointer<ObjCSelector>)>
textView:doCommandBySelector:
final
textView_doubleClickedOnCell_inRect_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect)>
textView:doubleClickedOnCell:inRect:
final
textView_doubleClickedOnCell_inRect_atIndex_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)>
textView:doubleClickedOnCell:inRect:atIndex:
final
textView_draggedCell_inRect_event_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)>
textView:draggedCell:inRect:event:
final
textView_draggedCell_inRect_event_atIndex_ → ObjCProtocolListenableMethod<void Function(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)>
textView:draggedCell:inRect:event:atIndex:
final
textView_menu_forEvent_atIndex_ → ObjCProtocolMethod<NSMenu? Function(NSTextView, NSMenu, NSEvent, DartNSUInteger)>
textView:menu:forEvent:atIndex:
final
textView_shouldChangeTextInRange_replacementString_ → ObjCProtocolMethod<bool Function(NSTextView, NSRange, NSString?)>
textView:shouldChangeTextInRange:replacementString:
final
textView_shouldChangeTextInRanges_replacementStrings_ → ObjCProtocolMethod<bool Function(NSTextView, NSArray, NSArray?)>
textView:shouldChangeTextInRanges:replacementStrings:
final
textView_shouldChangeTypingAttributes_toAttributes_ → ObjCProtocolMethod<NSDictionary Function(NSTextView, NSDictionary, NSDictionary)>
textView:shouldChangeTypingAttributes:toAttributes:
final
textView_shouldSelectCandidateAtIndex_ → ObjCProtocolMethod<bool Function(NSTextView, DartNSUInteger)>
textView:shouldSelectCandidateAtIndex:
final
textView_shouldSetSpellingState_range_ → ObjCProtocolMethod<DartNSInteger Function(NSTextView, DartNSInteger, NSRange)>
textView:shouldSetSpellingState:range:
final
textView_shouldUpdateTouchBarItemIdentifiers_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSArray)>
textView:shouldUpdateTouchBarItemIdentifiers:
final
textView_URLForContentsOfTextAttachment_atIndex_ → ObjCProtocolMethod<NSURL? Function(NSTextView, NSTextAttachment, DartNSUInteger)>
textView:URLForContentsOfTextAttachment:atIndex:
final
textView_willChangeSelectionFromCharacterRange_toCharacterRange_ → ObjCProtocolMethod<NSRange Function(NSTextView, NSRange, NSRange)>
textView:willChangeSelectionFromCharacterRange:toCharacterRange:
final
textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSArray, NSArray)>
textView:willChangeSelectionFromCharacterRanges:toCharacterRanges:
final
textView_willCheckTextInRange_options_types_ → ObjCProtocolMethod<NSDictionary Function(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)>
textView:willCheckTextInRange:options:types:
final
textView_willDisplayToolTip_forCharacterAtIndex_ → ObjCProtocolMethod<NSString? Function(NSTextView, NSString, DartNSUInteger)>
textView:willDisplayToolTip:forCharacterAtIndex:
final
textView_willShowSharingServicePicker_forItems_ → ObjCProtocolMethod<NSSharingServicePicker? Function(NSTextView, NSSharingServicePicker, NSArray)>
textView:willShowSharingServicePicker:forItems:
final
textView_writablePasteboardTypesForCell_atIndex_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSTextAttachmentCell, DartNSUInteger)>
textView:writablePasteboardTypesForCell:atIndex:
final
textView_writeCell_atIndex_toPasteboard_type_ → ObjCProtocolMethod<bool Function(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)>
textView:writeCell:atIndex:toPasteboard:type:
final
textView_writingToolsIgnoredRangesInEnclosingRange_ → ObjCProtocolMethod<NSArray Function(NSTextView, NSRange)>
textView:writingToolsIgnoredRangesInEnclosingRange:
final
textViewDidChangeSelection_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textViewDidChangeSelection:
final
textViewDidChangeTypingAttributes_ → ObjCProtocolListenableMethod<void Function(NSNotification obj)>
textViewDidChangeTypingAttributes:
final
textViewWritingToolsDidEnd_ → ObjCProtocolListenableMethod<void Function(NSTextView)>
textViewWritingToolsDidEnd:
final
textViewWritingToolsWillBegin_ → ObjCProtocolListenableMethod<void Function(NSTextView)>
textViewWritingToolsWillBegin:
final
undoManagerForTextView_ → ObjCProtocolMethod<NSUndoManager? Function(NSTextView)>
undoManagerForTextView:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextViewDelegate protocol to an existing objc.ObjCProtocolBuilder.
override
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextViewDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
override
addToBuilderAsListener(ObjCProtocolBuilder builder, {bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTextViewDelegate protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
override
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTextViewDelegate.
override
implement({bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextViewDelegate
Builds an object that implements the NSTextViewDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
override
implementAsBlocking({bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextViewDelegate
Builds an object that implements the NSTextViewDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
override
implementAsListener({bool textView_clickedOnLink_atIndex_(NSTextView, ObjCObjectBase, DartNSUInteger)?, void textView_clickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_doubleClickedOnCell_inRect_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, DartNSUInteger)?, void textView_draggedCell_inRect_event_atIndex_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent, DartNSUInteger)?, NSArray textView_writablePasteboardTypesForCell_atIndex_(NSTextView, NSTextAttachmentCell, DartNSUInteger)?, bool textView_writeCell_atIndex_toPasteboard_type_(NSTextView, NSTextAttachmentCell, DartNSUInteger, NSPasteboard, DartNSPasteboardType)?, NSRange textView_willChangeSelectionFromCharacterRange_toCharacterRange_(NSTextView, NSRange, NSRange)?, NSArray textView_willChangeSelectionFromCharacterRanges_toCharacterRanges_(NSTextView, NSArray, NSArray)?, bool textView_shouldChangeTextInRanges_replacementStrings_(NSTextView, NSArray, NSArray?)?, NSDictionary textView_shouldChangeTypingAttributes_toAttributes_(NSTextView, NSDictionary, NSDictionary)?, void textViewDidChangeSelection_(NSNotification)?, void textViewDidChangeTypingAttributes_(NSNotification)?, NSString? textView_willDisplayToolTip_forCharacterAtIndex_(NSTextView, NSString, DartNSUInteger)?, NSArray textView_completions_forPartialWordRange_indexOfSelectedItem_(NSTextView, NSArray, NSRange, Pointer<NSInteger>)?, bool textView_shouldChangeTextInRange_replacementString_(NSTextView, NSRange, NSString?)?, bool textView_doCommandBySelector_(NSTextView, Pointer<ObjCSelector>)?, DartNSInteger textView_shouldSetSpellingState_range_(NSTextView, DartNSInteger, NSRange)?, NSMenu? textView_menu_forEvent_atIndex_(NSTextView, NSMenu, NSEvent, DartNSUInteger)?, NSDictionary textView_willCheckTextInRange_options_types_(NSTextView, NSRange, NSDictionary, Pointer<CVOptionFlags>)?, NSArray textView_didCheckTextInRange_types_options_results_orthography_wordCount_(NSTextView, NSRange, DartNSTextCheckingTypes, NSDictionary, NSArray, NSOrthography, DartNSInteger)?, NSURL? textView_URLForContentsOfTextAttachment_atIndex_(NSTextView, NSTextAttachment, DartNSUInteger)?, NSSharingServicePicker? textView_willShowSharingServicePicker_forItems_(NSTextView, NSSharingServicePicker, NSArray)?, NSUndoManager? undoManagerForTextView_(NSTextView)?, NSArray textView_shouldUpdateTouchBarItemIdentifiers_(NSTextView, NSArray)?, NSArray? textView_candidatesForSelectedRange_(NSTextView, NSRange)?, NSArray textView_candidates_forSelectedRange_(NSTextView, NSArray, NSRange)?, bool textView_shouldSelectCandidateAtIndex_(NSTextView, DartNSUInteger)?, void textViewWritingToolsWillBegin_(NSTextView)?, void textViewWritingToolsDidEnd_(NSTextView)?, NSArray textView_writingToolsIgnoredRangesInEnclosingRange_(NSTextView, NSRange)?, bool textView_clickedOnLink_(NSTextView, ObjCObjectBase)?, void textView_clickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_doubleClickedOnCell_inRect_(NSTextView, NSTextAttachmentCell, NSRect)?, void textView_draggedCell_inRect_event_(NSTextView, NSTextAttachmentCell, NSRect, NSEvent)?, bool textShouldBeginEditing_(NSText)?, bool textShouldEndEditing_(NSText)?, void textDidBeginEditing_(NSNotification)?, void textDidEndEditing_(NSNotification)?, void textDidChange_(NSNotification)?, bool $keepIsolateAlive = true}) → NSTextViewDelegate
Builds an object that implements the NSTextViewDelegate protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.
override