<sampleText>

Description

Representative text that appears in the Preview window of the Edit Coloring Scheme dialog box. For more information on the Edit Coloring Scheme dialog box, see .

Attributes

doctypes

  • doctypes="doc_type1, doc_type2,..." The document types for which this sample text appears.

Example

<sampleText doctypes="JavaScript"><![CDATA[/* JavaScript */function displayWords(arrayWords) { for (i=0; i < arrayWords.length(); i++) { // inline comment alert("Word " + i + " is " + arrayWords[i]); }}var tokens = new Array("Hello", "world");displayWords(tokens);]]></sampleText>