Files
imguicolortextedit-luau/TextEditor.lua
T

9 lines
388 B
Lua

-- TextEditor for imgui-luau. Port of https://github.com/goossens/ImGuiColorTextEdit (b12d713e77e8edddff1e69973f67085ac9cfaf74).
-- Usage: local TextEditor = require(path.to.TextEditor)(require(path.to.ImGui))
return function(G)
local ImGui, ImVec2, ImVec4 = G.ImGui, G.ImVec2, G.ImVec4
local TextEditor = {}
-- [Port] TODO: port from tools/upstream
return TextEditor
end