Creation/Dev/Script/Client/GuiMLTextEditCtrl

From Graal Bible
Revision as of 08:16, 1 July 2007 by Stefan (talk | contribs) (Reverted edits by Anti-up (Talk); changed back to last version by Stefan)

Inherits GuiMLTextCtrl.

Description

Guicontrol multilineedit.png

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>";
}