ScriptRun
public struct ScriptRun
A script run represents a sequence of characters which have the same script.
-
The UTF-16 range of the run in source string.
Declaration
Swift
public let codeUnitRange: Range<Int>
-
The resolved script of the run.
Declaration
Swift
public let script: Script
-
The index to the first character of the run in source string.
Declaration
Swift
public var startIndex: String.Index { get }
-
The index after the last character of the run in source string.
Declaration
Swift
public var endIndex: String.Index { get }