Regular API function
sim.textEditorGetInfo
Description
Retieves information from a text edition window previously opened with
sim.textEditorOpen
.
C/C++
synopsis
C/C++
parameters
C/C++
return value
Lua
synopsis
string text,int[2] pos,int[2] size,bool 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
Python
synopsis
string text,list pos,list size,bool visible=sim.textEditorGetInfo(int handle)