NSMutable String Kit Additions. Fix Attributes InRange(NSMutableAttributedString, NSRange) Attributed
String Kit Additions. Fix Attributes InRange(NSMutableAttributedString, NSRange)
Cleans up inconsistencies that can accumulate over many edits.
[Foundation.Export("fixAttributesInRange:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] public static void FixAttributesInRange (this Foundation.NSMutableAttributedString This, Foundation.NSRange range);
static member FixAttributesInRange : Foundation.NSMutableAttributedString * Foundation.NSRange -> unit
The instance on which this method operates.
After edits, NSMutableAttributedStrings may accumulate inconsistencies. For instance, paragraph styles must apply to entire paragraphs, scripts may be assigned to fonts that support them, and deleting attachment characters requires the corresponding attachment objects to be released. This method performs necessary cleanup.