◆ GetCurrentFile()
| proto external bool ScriptEditor.GetCurrentFile |
( |
out string | filename | ) |
|
◆ GetCurrentLine()
| proto external int ScriptEditor.GetCurrentLine |
( |
| ) |
|
◆ GetLinesCount()
| proto external int ScriptEditor.GetLinesCount |
( |
| ) |
|
◆ GetLineText()
| proto external bool ScriptEditor.GetLineText |
( |
out string | text, |
|
|
int | line = -1 ) |
Gets line text (if line is -1, current line is used).
◆ InsertLine()
| proto external void ScriptEditor.InsertLine |
( |
string | text, |
|
|
int | line = -1 ) |
Insert line before line (if line is -1, current line is used).
◆ RemoveLine()
| proto external void ScriptEditor.RemoveLine |
( |
int | line = -1 | ) |
|
Removes line (if line is -1, current line is used).
◆ SetLineText()
| proto external void ScriptEditor.SetLineText |
( |
string | text, |
|
|
int | line = -1 ) |
Sets line text (if line is -1, current line is used).
The documentation for this interface was generated from the following file:
- GameLib/generated/WorkbenchAPI/Modules/ScriptEditor.c