Interface NSTextLocation


  • public interface NSTextLocation
    NSTextLocation represents an abstract location inside document contents. A concrete class conforming to the protocol should be associated with a particular document backing store type. The interpretation of a location in enumeration operations is depending on the logical direction. When enumerating forward, it should start with the item containing the location. The enumeration should start with an item preceding the location for reverse operations. API-Since: 15.0
    • Method Detail

      • compare

        long compare​(@NotNull
                     @NotNull NSTextLocation location)
        Compares and returns the logical ordering to location API-Since: 15.0