gui.getTextEditorFile

Returns the file handle to the currently open text document.

Prototype

  1. hFile = gui.getTextEditorFile ( hComponent )

Description

Lets you know e.g. which script file you are currently modifying.


Parameters

hComponent - valid GUI component handle


Return values

hFile - file handle


Available since ShiVa 2.0