Position argument added for GetCodepoint, GetCodepointNext and GetCodepointPrevious.

This commit is contained in:
jussi
2024-04-13 18:44:42 +03:00
parent b96960a1f9
commit 1d66edf4f2
11 changed files with 67 additions and 36 deletions

6
API.md
View File

@@ -6864,7 +6864,7 @@ Get total number of codepoints in a UTF-8 encoded string
---
> codepoint, codepointSize = RL.GetCodepoint( string text )
> codepoint, codepointSize = RL.GetCodepoint( string text, int position )
Get codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
@@ -6872,7 +6872,7 @@ Get codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
---
> codepoint, codepointSize = RL.GetCodepointNext( string text )
> codepoint, codepointSize = RL.GetCodepointNext( string text, int position )
Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
@@ -6880,7 +6880,7 @@ Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure
---
> codepoint, codepointSize = RL.GetCodepointPrevious( string text )
> codepoint, codepointSize = RL.GetCodepointPrevious( string text, int position )
Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure