Regular API function

sim.textEditorClose

Description Closes a text edition window previously opened with sim.textEditorOpen.
C synopsis
C parameters
C return value
Lua synopsis
string text,table[2] pos,table[2] size=sim.textEditorClose(int handle)
Lua parameters
handle: the handle of the text editor window.
Lua return values
text: the text of the editor, or nil in case of an error
pos: the size of the editor, or nil in case of an error
size: the absolute position the editor, or nil in case of an error