<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>QextScintillaLexerJavaScript class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> <hr><h1>QextScintillaLexerJavaScript Class Reference</h1>The QextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. <a href="#_details">More...</a> <p> <code>#include <qextscintillalexerjavascript.h></code> <p> Inherits <a class="el" href="classQextScintillaLexerCPP.html">QextScintillaLexerCPP</a>. <p> <a href="classQextScintillaLexerJavaScript-members.html">List of all members.</a><h2>Public Methods</h2> <ul> <li><a class="el" href="classQextScintillaLexerJavaScript.html#a0">QextScintillaLexerJavaScript</a> (QObject *parent=0, const char *name=0) <li>virtual <a class="el" href="classQextScintillaLexerJavaScript.html#a1">~QextScintillaLexerJavaScript</a> () <li>const char * <a class="el" href="classQextScintillaLexerJavaScript.html#a2">language</a> () const <li>QColor <a class="el" href="classQextScintillaLexerJavaScript.html#a3">color</a> (int style) const <li>bool <a class="el" href="classQextScintillaLexerJavaScript.html#a4">eolFill</a> (int style) const <li>QFont <a class="el" href="classQextScintillaLexerJavaScript.html#a5">font</a> (int style) const <li>const char * <a class="el" href="classQextScintillaLexerJavaScript.html#a6">keywords</a> (int set) const <li>QString <a class="el" href="classQextScintillaLexerJavaScript.html#a7">description</a> (int style) const <li>QColor <a class="el" href="classQextScintillaLexerJavaScript.html#a8">paper</a> (int style) const </ul> <hr><a name="_details"></a><h2>Detailed Description</h2> The QextScintillaLexerJavaScript class encapsulates the Scintilla JavaScript lexer. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="QextScintillaLexerJavaScript::QextScintillaLexerJavaScript"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QextScintillaLexerJavaScript::QextScintillaLexerJavaScript </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">QObject * </td> <td class="mdname" nowrap> <em>parent</em> = 0, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>name</em> = 0</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Construct a QextScintillaLexerJavaScript with parent <em>parent</em> and name <em>name</em>. <em>parent</em> is typically the <a class="el" href="classQextScintilla.html">QextScintilla</a> instance. </td> </tr> </table> <a name="a1" doxytag="QextScintillaLexerJavaScript::~QextScintillaLexerJavaScript"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual QextScintillaLexerJavaScript::~QextScintillaLexerJavaScript </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Destroys the QextScintillaLexerJavaScript instance. <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a2" doxytag="QextScintillaLexerJavaScript::language"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const char* QextScintillaLexerJavaScript::language </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the name of the language. <p> <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a2">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a3" doxytag="QextScintillaLexerJavaScript::color"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QColor QextScintillaLexerJavaScript::color </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>style</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the foreground colour of the text for style number <em>style</em>. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaLexerJavaScript.html#a8">paper()</a> </dl> <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a8">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a4" doxytag="QextScintillaLexerJavaScript::eolFill"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool QextScintillaLexerJavaScript::eolFill </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>style</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the end-of-line fill for style number <em>style</em>. <p> <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a9">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a5" doxytag="QextScintillaLexerJavaScript::font"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QFont QextScintillaLexerJavaScript::font </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>style</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the font for style number <em>style</em>. <p> <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a10">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a6" doxytag="QextScintillaLexerJavaScript::keywords"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const char* QextScintillaLexerJavaScript::keywords </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>set</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the set of keywords for the keyword set \set recognised by the lexer as a space separated string. <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a11">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a7" doxytag="QextScintillaLexerJavaScript::description"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QString QextScintillaLexerJavaScript::description </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>style</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the descriptive name for style number <em>style</em>. If the style is invalid for this language then QString::null is returned. This is intended to be used in user preference dialogs. <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a12">QextScintillaLexerCPP</a>. </td> </tr> </table> <a name="a8" doxytag="QextScintillaLexerJavaScript::paper"></a><p> <table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> QColor QextScintillaLexerJavaScript::paper </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>style</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns the background colour of the text for style number <em>style</em>. <p> <dl compact><dt><b>See also: </b></dt><dd> <a class="el" href="classQextScintillaLexerJavaScript.html#a3">color()</a> </dl> <p> Reimplemented from <a class="el" href="classQextScintillaLexerCPP.html#a13">QextScintillaLexerCPP</a>. </td> </tr> </table> <hr><address style="align: right;"><small>Generated on Sat Aug 16 21:46:54 2003 for QScintilla by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address> </body> </html>