From 143453af9ea9be82b2d58d665bed62abb716e21f Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 28 Jan 2024 18:29:06 +0200 Subject: TextInsert and TextSplit. --- ReiLua_API.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ReiLua_API.lua') 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 -- cgit v1.2.3