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(number 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
All regular API functions on one page