Package org.robovm.apple.uikit
Interface NSTextSelectionDataSource
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
NSTextLayoutManager,NSTextSelectionDataSourceAdapter
public interface NSTextSelectionDataSource extends NSObjectProtocol
- Since:
- Available in iOS 15.0 and later.
-
Method Summary
-
Method Details
-
getDocumentRange
NSTextRange getDocumentRange() -
enumerateSubstringsFromLocation
void enumerateSubstringsFromLocation(NSTextLocation location, NSStringEnumerationOptions options, VoidBlock4<NSString,NSTextRange,NSTextRange,BooleanPtr> block) -
getTextRangeForSelectionGranularity
NSTextRange getTextRangeForSelectionGranularity(NSTextSelectionGranularity selectionGranularity, NSTextLocation location) -
getLocationFromLocation
-
getOffsetFromLocation
-
baseWritingDirectionAtLocation
-
enumerateCaretOffsetsInLineFragmentAtLocation
void enumerateCaretOffsetsInLineFragmentAtLocation(NSTextLocation location, VoidBlock4<Double,NSTextLocation,Boolean,BooleanPtr> block) -
getLineFragmentRangeForPoint
-
enumerateContainerBoundariesFromLocation
void enumerateContainerBoundariesFromLocation(NSTextLocation location, boolean reverse, VoidBlock2<NSTextLocation,BooleanPtr> block) -
textLayoutOrientationAtLocation
NSTextSelectionNavigationLayoutOrientation textLayoutOrientationAtLocation(NSTextLocation location)
-