Instance Property

fixesAttributesLazily

A Boolean value indicating whether the text storage object fixes attributes lazily.

Declaration

var fixesAttributesLazily: Bool { get }

Discussion

When subclassing, the default value of this property is false, meaning that your subclass fixes attributes immediately when they are changed. The system’s concrete subclass overrides this property and sets it to true.

See Also

Handling Text Editing Messages

func edited(NSTextStorage.EditActions, range: NSRange, changeInLength: Int)

Tracks changes made to the receiver, allowing the text storage to record the full extent of changes made.

func ensureAttributesAreFixed(in: NSRange)

Ensures that attributes are fixed in the given range.

func invalidateAttributes(in: NSRange)

Invalidates attributes in the specified range.

func processEditing()

Cleans up changes made to the receiver and notifies its delegate and layout managers of changes.