summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2024-01-28 18:29:06 +0200
committerjussi2024-01-28 18:29:06 +0200
commit143453af9ea9be82b2d58d665bed62abb716e21f (patch)
tree53ead99a8db6da542c868f48fb3115a3da0d5df6 /ReiLua_API.lua
parent71cc89c3033365746e5dcdb933c460c8e0da7fb0 (diff)
downloadreilua-enhanced-143453af9ea9be82b2d58d665bed62abb716e21f.tar.gz
reilua-enhanced-143453af9ea9be82b2d58d665bed62abb716e21f.tar.bz2
reilua-enhanced-143453af9ea9be82b2d58d665bed62abb716e21f.zip
TextInsert and TextSplit.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua
index fb11af6..eb3f1b5 100644
--- a/ReiLua_API.lua
+++ b/ReiLua_API.lua
@@ -3999,6 +3999,23 @@ function RL.GetCodepointPrevious( text ) end
---@return any utf8Size
function RL.CodepointToUTF8( codepoint ) end
+-- Text - Text strings management functions (no UTF-8 strings, only byte chars)
+
+---Insert text in a specific position, moves all text forward
+---- Success return string
+---@param text string
+---@param insert string
+---@param position integer
+---@return any text
+function RL.TextInsert( text, insert, position ) end
+
+---Split text into multiple strings
+---- Success return string{}
+---@param text string
+---@param delimiter any
+---@return any splits
+function RL.TextSplit( text, delimiter ) end
+
-- Models - Basic geometric 3D shapes drawing functions
---Draw a line in 3D world space