Creation/Dev/Script/Client/GuiMLTextEditCtrl: Difference between revisions
From Graal Bible
mNo edit summary |
Pooper200000 (talk | contribs) No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
Inherits [[Creation/Dev/Script/Client/GuiMLTextCtrl|GuiMLTextCtrl]]. | |||
=Description= | |||
[[Image:Guicontrol_multilineedit.png]] | |||
This is the same like [[Creation/Dev/Script/Client/GuiMLTextCtrl|GuiMLTextCtrl]], but you can edit the text and HTML tags are by default not parsed (''parsetags=false''). This works good in combination with ''syntaxhighlighting=true'', which scans for [[Creation/Dev/GScript|GraalScript]] tokens and is coloring them with the colors defined in the [[Creation/Dev/Script/Client/GuiControlProfile|profile]]. | |||
=Example= | |||
<pre> | <pre> | ||
new GuiMLTextEditCtrl("Test_MultiLineEdit") { | |||
profile = GuiBlueMLTextEditProfile; | |||
x = 10; | |||
y = 10; | |||
width = 160; | |||
height = 60; | |||
text = "<font size=24><i>Multiline-<br>Edit</i></font>"; | |||
} | |||
</pre> | </pre> |
Latest revision as of 23:53, 15 February 2010
Inherits GuiMLTextCtrl.
Description
This is the same like GuiMLTextCtrl, but you can edit the text and HTML tags are by default not parsed (parsetags=false). This works good in combination with syntaxhighlighting=true, which scans for GraalScript tokens and is coloring them with the colors defined in the profile.
Example
new GuiMLTextEditCtrl("Test_MultiLineEdit") { profile = GuiBlueMLTextEditProfile; x = 10; y = 10; width = 160; height = 60; text = "<font size=24><i>Multiline-<br>Edit</i></font>"; }