You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqscintilla/doc/en/classTQextScintillaLexerJav...

262 lines
12 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>TQScintilla: TQextScintillaLexerJavaScript Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>TQextScintillaLexerJavaScript Class Reference</h1><!-- doxytag: class="TQextScintillaLexerJavaScript" --><!-- doxytag: inherits="TQextScintillaLexerCPP" -->The <a class="el" href="classTQextScintillaLexerJavaScript.html">TQextScintillaLexerJavaScript</a> class encapsulates the Scintilla JavaScript lexer.
<a href="#_details">More...</a>
<p>
<code>#include &lt;tqextscintillalexerjavascript.h&gt;</code>
<p>
Inherits <a class="el" href="classTQextScintillaLexerCPP.html">TQextScintillaLexerCPP</a>.
<p>
<a href="classTQextScintillaLexerJavaScript-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classTQextScintillaLexerJavaScript.html#b399d27be19d5fc6ac6bf5b3c555b079">TQextScintillaLexerJavaScript</a> (TQObject *parent=0, const char *name=0)
<li>virtual <a class="el" href="classTQextScintillaLexerJavaScript.html#911d027f4a41a3d2f02df1e758d87ee5">~TQextScintillaLexerJavaScript</a> ()
<li>const char * <a class="el" href="classTQextScintillaLexerJavaScript.html#3cfc5a543947879f3525e5abae1abdb7">language</a> () const
<li>TQColor <a class="el" href="classTQextScintillaLexerJavaScript.html#0d6f5ae54113d25194bba830674835fe">color</a> (int style) const
<li>bool <a class="el" href="classTQextScintillaLexerJavaScript.html#74ad10f97d43c77c24a4fbe5d7ca5d04">eolFill</a> (int style) const
<li>TQFont <a class="el" href="classTQextScintillaLexerJavaScript.html#6e1888622ce0ae61936fc0191a536807">font</a> (int style) const
<li>const char * <a class="el" href="classTQextScintillaLexerJavaScript.html#9bb399d8f06d5b915c81a402e6d35ee5">keywords</a> (int set) const
<li>TQString <a class="el" href="classTQextScintillaLexerJavaScript.html#01c7701133de7049c74dbdfd8cf2adb6">description</a> (int style) const
<li>TQColor <a class="el" href="classTQextScintillaLexerJavaScript.html#edd2a656bf04564ec7494140d2800698">paper</a> (int style) const
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classTQextScintillaLexerJavaScript.html">TQextScintillaLexerJavaScript</a> class encapsulates the Scintilla JavaScript lexer.
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b399d27be19d5fc6ac6bf5b3c555b079"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::TQextScintillaLexerJavaScript" ref="b399d27be19d5fc6ac6bf5b3c555b079" args="(TQObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQextScintillaLexerJavaScript::TQextScintillaLexerJavaScript </td>
<td>(</td>
<td class="paramtype">TQObject *&nbsp;</td>
<td class="paramname"> <em>parent</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&nbsp;</td>
<td class="paramname"> <em>name</em> = <code>0</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Construct a <a class="el" href="classTQextScintillaLexerJavaScript.html">TQextScintillaLexerJavaScript</a> with parent <em>parent</em> and name <em>name</em>. <em>parent</em> is typically the <a class="el" href="classTQextScintilla.html">TQextScintilla</a> instance.
</div>
</div><p>
<a class="anchor" name="911d027f4a41a3d2f02df1e758d87ee5"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::~TQextScintillaLexerJavaScript" ref="911d027f4a41a3d2f02df1e758d87ee5" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual TQextScintillaLexerJavaScript::~TQextScintillaLexerJavaScript </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destroys the <a class="el" href="classTQextScintillaLexerJavaScript.html">TQextScintillaLexerJavaScript</a> instance.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3cfc5a543947879f3525e5abae1abdb7"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::language" ref="3cfc5a543947879f3525e5abae1abdb7" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* TQextScintillaLexerJavaScript::language </td>
<td>(</td>
<td class="paramname"> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the name of the language.
<p>
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#4cb81dcd6838b1aad041da166186d349">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="0d6f5ae54113d25194bba830674835fe"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::color" ref="0d6f5ae54113d25194bba830674835fe" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQColor TQextScintillaLexerJavaScript::color </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>style</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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="classTQextScintillaLexerJavaScript.html#edd2a656bf04564ec7494140d2800698">paper()</a> </dd></dl>
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#81d2fac7671aaffb7cb0400eed5f4610">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="74ad10f97d43c77c24a4fbe5d7ca5d04"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::eolFill" ref="74ad10f97d43c77c24a4fbe5d7ca5d04" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool TQextScintillaLexerJavaScript::eolFill </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>style</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the end-of-line fill for style number <em>style</em>.
<p>
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#5f425be57976a428603b7c14f198ba76">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="6e1888622ce0ae61936fc0191a536807"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::font" ref="6e1888622ce0ae61936fc0191a536807" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQFont TQextScintillaLexerJavaScript::font </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>style</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the font for style number <em>style</em>.
<p>
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#c78b287195efa8b2612bb16fbfba8417">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="9bb399d8f06d5b915c81a402e6d35ee5"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::keywords" ref="9bb399d8f06d5b915c81a402e6d35ee5" args="(int set) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* TQextScintillaLexerJavaScript::keywords </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>set</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the set of keywords for the keyword set <em>set</em> recognised by the lexer as a space separated string.
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#2e15e8d6831c86fbe16841bac3714a17">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="01c7701133de7049c74dbdfd8cf2adb6"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::description" ref="01c7701133de7049c74dbdfd8cf2adb6" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQString TQextScintillaLexerJavaScript::description </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>style</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Returns the descriptive name for style number <em>style</em>. If the style is invalid for this language then TQString() is returned. This is intended to be used in user preference dialogs.
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#cb720f11c91e4491dc0e44e18bfd0079">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<a class="anchor" name="edd2a656bf04564ec7494140d2800698"></a><!-- doxytag: member="TQextScintillaLexerJavaScript::paper" ref="edd2a656bf04564ec7494140d2800698" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQColor TQextScintillaLexerJavaScript::paper </td>
<td>(</td>
<td class="paramtype">int&nbsp;</td>
<td class="paramname"> <em>style</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<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="classTQextScintillaLexerJavaScript.html#0d6f5ae54113d25194bba830674835fe">color()</a> </dd></dl>
<p>
Reimplemented from <a class="el" href="classTQextScintillaLexerCPP.html#8cadeffdccdae0c0a3e26f6c8f33f3ee">TQextScintillaLexerCPP</a>.
</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Thu Nov 30 09:32:31 2006 for TQScintilla by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>