Method ScriptEditor.GetFileInfo(+ 1 overload)
Overload
Gets name, text and some info of the currently active file in editor.
public static EFileInfo GetFileInfo(bool needText)
Parameters
needText (bool)
Need text too. |
Returns
EFileInfo
|
Overload(top)
Gets name, text and some info of a file in the current workspace in editor.
public static EFileInfo GetFileInfo(string file, bool needText)
Parameters
file (string)
A file in current workspace. Can be full path, or relative path in workspace, or file name with extension ( |
needText (bool)
Need text too. |
Returns
EFileInfo
|