| return
|
function
|
description
|
| {string()}
|
getOpenFiles()
|
Return a list of all current opend files.
|
| string
|
getOpenedFile()
|
Get the current opened file.
|
| bool
|
isTestWorldVisible()
|
Return true if the test world view area is visible.
|
| int
|
getTextHeight()
|
Return text height.
|
| string
|
getTextFromRow(int row)
|
Get the text from the row.
|
| int
|
getFirstVisibleRow()
|
Return text height.
|
| int
|
getNumVisibleRows()
|
Return num visible rows.
|
|
|
openFile(Text fileName)
|
Open an existing file or create a default template file.
|
|
|
setTextHeight(int textHeight)
|
Set the TextArea textheight.
|
|
|
setReloadCallback(string functionName)
|
Set a function that is called when the reload button is pressed.
|
|
|
setOptionPanelVisible(bool visible)
|
Set if the option panel should be visible (exit and reload button).
|
|
|
setOpenedFile(string fileName)
|
Set witch file to be shown. The file must be loaded.
|
|
|
setRowText(int row, string text)
|
Set the text on a given row
|
|
|
setFirstVisibleRow(int row)
|
move the camera so that this row is the first line shown.
|
|
|
markRow(int row, Vec3 color)
|
Mark a row with a given color.
|
|
|
setTextColor(Vec3 color)
|
Set text color.
|
|
|
setCommentColor(Vec3 color)
|
Set text comment color.
|
|
|
setTextStringColor(Vec3 color)
|
Set text string color.
|
|
|
setLexemeColor(Vec3 color)
|
Set lexeme color Example function, local, for, while ...
|
|
|
setSelectedColor(Vec3 color)
|
Set Selected word color.
|
|
|
setSearchMarkerColor(Vec3 color)
|
Set search marked word color.
|
|
|
setCurrentRowColor(Vec3 color)
|
Set current row color.
|
|
|
setmarkedWordColor(Vec3 color)
|
Set marked word color.
|