Gets index of next grapheme cluster.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public int NextGraphemeClusterIndex( int index ) |
Visual Basic |
---|
Public Function NextGraphemeClusterIndex ( index As Integer ) As Integer |
Parameters
- index
- Type: System..::..Int32
The index to start the search from.
Return Value
Type: Int32The index of the character which starts next grapheme cluster.
Remarks
This method searches document for a grapheme cluster from given index forward. Note that this method always return an index greater than given 'index'.
"Grapheme cluster" is a sequence of characters which consists one "user perceived character" such as 'À' - sequence of U+0041 and U+0300; a capital 'A' with grave.
This method recognizes character sequences below as a grapheme cluster:
- CR+LF
- Surrogate pair
- Combining character sequence
- Variation sequence (including IVS)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentOutOfRangeException |