Regular API function

sim.textEditorGetInfo

Description Retieves information from 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,boolean visible=sim.textEditorGetInfo(int handle)
Lua parameters
handle: the handle of the text editor window.
Lua return values
text: the text of the editor, or nil if the given handle is not associated with any text editor window (or the window was already closed)
pos: the size of the editor
size: the absolute position the editor
visible: the visible state the editor