Enfusion Script API
|
Public Member Functions | |
proto external bool | GetCurrentFile (out string filename) |
proto external int | GetCurrentLine () |
proto external int | GetLinesCount () |
proto external bool | GetLineText (out string text, int line=-1) |
Gets line text (if line is -1, current line is used). | |
proto external void | SetLineText (string text, int line=-1) |
Sets line text (if line is -1, current line is used). | |
proto external void | InsertLine (string text, int line=-1) |
Insert line before line (if line is -1, current line is used). | |
proto external void | RemoveLine (int line=-1) |
Removes line (if line is -1, current line is used). | |
Public Member Functions inherited from WBModuleDef | |
proto external bool | SetOpenedResource (string filename) |
proto external BaseContainer | GetContainer (int index=0) |
proto external int | GetNumContainers () |
proto external bool | Save () |
proto external bool | GetCmdLine (string name, out string value) |
proto external bool | Close () |
proto external WorkbenchPlugin | GetPlugin (TypeName pluginType) |
Public Member Functions inherited from pointer | |
proto string | ToString () |
proto external int ScriptEditor.GetCurrentLine | ( | ) |
proto external int ScriptEditor.GetLinesCount | ( | ) |
Gets line text (if line is -1, current line is used).
Insert line before line (if line is -1, current line is used).
proto external void ScriptEditor.RemoveLine | ( | int | line = -1 | ) |
Removes line (if line is -1, current line is used).
Sets line text (if line is -1, current line is used).