pub unsafe trait NSTextStorageDelegate: NSObjectProtocol {
// Provided methods
unsafe fn textStorage_willProcessEditing_range_changeInLength(
&self,
text_storage: &NSTextStorage,
edited_mask: NSTextStorageEditActions,
edited_range: NSRange,
delta: NSInteger,
)
where Self: Sized + Message { ... }
unsafe fn textStorage_didProcessEditing_range_changeInLength(
&self,
text_storage: &NSTextStorage,
edited_mask: NSTextStorageEditActions,
edited_range: NSRange,
delta: NSInteger,
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSTextStorage
only.Expand description
** NSTextStorage delegate methods ***
See also Apple’s documentation