Changes

Jump to navigation Jump to search

Overview of the API

48 bytes added, 21:22, 20 May 2011
Line 288: Line 288:  
*'''setFormattedText'''() - ?
 
*'''setFormattedText'''() - ?
 
Example of a valid function using the D2Editor
 
Example of a valid function using the D2Editor
 +
<syntaxhighlight lang="lua">
 
  function createRichTextBox
 
  function createRichTextBox
 
  box = D2Editor.newRichText()
 
  box = D2Editor.newRichText()
Line 294: Line 295:  
  box:setText("Hello World !")
 
  box:setText("Hello World !")
 
  end
 
  end
 +
</syntaxhighlight>
    
==External Links==
 
==External Links==
30

edits

Navigation menu