Creation/Dev/Script/Client/GuiMLTextCtrl: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Inherits [[Creation/Dev/Script/Client/GuiMLTextCtrl|GuiMLTextCtrl]]. | |||
=Variables= | |||
allowcolorchars - boolean | |||
allowedtags - string | |||
alpha - float | |||
deniedsound - string | |||
disallowedtags - string | |||
maxchars - integer | |||
parsetags - boolean | |||
syntaxhighlighting - boolean | |||
text - string | |||
wordwrap - boolean | |||
< | |||
=Functions= | |||
addtext(str, bool) | |||
getcursorline() - returns integer | |||
getline(int) - returns string | |||
getlinecount() - returns integer | |||
getlines() - returns object - array of lines | |||
gettext() - returns string | |||
reflow() | |||
scrolltobottom() | |||
scrolltotag(int) | |||
scrolltotop() | |||
setlines(obj) | |||
settext(str) | |||
=Events= | |||
onCursorLineChanged(line) - the cursor has been moved to another line | |||
onSelectedTag(tagid) - an image inside the control has been clicked (<img src=imagefile id=tagid>-tag) | |||
onURL(url) - an url has been clicked (<a href=url>-tag) | |||
onReflow(newwidth,newheight) - the size of the displayed text has been changed |
Revision as of 13:58, 25 February 2006
Inherits GuiMLTextCtrl.
Variables
allowcolorchars - boolean
allowedtags - string
alpha - float
deniedsound - string
disallowedtags - string
maxchars - integer
parsetags - boolean
syntaxhighlighting - boolean
text - string
wordwrap - boolean
Functions
addtext(str, bool)
getcursorline() - returns integer
getline(int) - returns string
getlinecount() - returns integer
getlines() - returns object - array of lines
gettext() - returns string
reflow()
scrolltobottom()
scrolltotag(int)
scrolltotop()
setlines(obj)
settext(str)
Events
onCursorLineChanged(line) - the cursor has been moved to another line
onSelectedTag(tagid) - an image inside the control has been clicked (<img src=imagefile id=tagid>-tag)
onURL(url) - an url has been clicked (<a href=url>-tag)
onReflow(newwidth,newheight) - the size of the displayed text has been changed