Interface NSTextStorageDelegate


  • public interface NSTextStorageDelegate
    NSTextStorage delegate methods ***
    • Method Detail

      • textStorageDidProcessEditingRangeChangeInLength

        default void textStorageDidProcessEditingRangeChangeInLength​(@NotNull
                                                                     @NotNull NSTextStorage textStorage,
                                                                     long editedMask,
                                                                     NSRange editedRange,
                                                                     long delta)
        Sent inside -processEditing right before notifying layout managers. Delegates can change the attributes. API-Since: 7.0
      • textStorageWillProcessEditingRangeChangeInLength

        default void textStorageWillProcessEditingRangeChangeInLength​(@NotNull
                                                                      @NotNull NSTextStorage textStorage,
                                                                      long editedMask,
                                                                      NSRange editedRange,
                                                                      long delta)
        Sent inside -processEditing right before fixing attributes. Delegates can change the characters or attributes. API-Since: 7.0