Declaration

var selectedLayerRange: NSRange { get set }

Declaration

@property (nonatomic) NSRange selectedLayerRange;

Declaration

selectedLayerRange() -> NSRange
setSelectedLayerRange_(selectedLayerRange: NSRange)

Discussion

When setting this property, the selectedRange property should also be set to the corresponding converted character range. When setting the selectedRange property (except in the case above), this property should be set to {NSNotFound, 0}. When getting this property, the actual ivar should only be returned if it is not {NSNotFound, 0}. Otherwise, the corresponding converted character range should be returned.