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/classQextScintillaLexerTeX....

262 lines
13 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: QextScintillaLexerTeX 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>QextScintillaLexerTeX Class Reference</h1><!-- doxytag: class="QextScintillaLexerTeX" --><!-- doxytag: inherits="QextScintillaLexer" -->The <a class="el" href="classQextScintillaLexerTeX.html">QextScintillaLexerTeX</a> class encapsulates the Scintilla TeX lexer.
<a href="#_details">More...</a>
<p>
<code>#include &lt;qextscintillalexertex.h&gt;</code>
<p>
Inherits <a class="el" href="classQextScintillaLexer.html">QextScintillaLexer</a>.
<p>
<a href="classQextScintillaLexerTeX-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b137e4297866c11d4c1a540f153ee9e6c0">Default</a> = 0
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1f46bc40ebff51b439bc0a50c809c9d94">Special</a> = 1
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b154823b2c003b00f33a78b51c04522755">Group</a> = 2
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1d826b7be57d84563faa5281dea57a067">Symbol</a> = 3
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b106091b2476359f3cb77e54efde1ff4e9">Command</a> = 4
<li><a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1107f5f805d936e4c6ad270382a4b38e1">Text</a> = 5
<li>enum { <br>
&nbsp;&nbsp;<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b137e4297866c11d4c1a540f153ee9e6c0">Default</a> = 0,
<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1f46bc40ebff51b439bc0a50c809c9d94">Special</a> = 1,
<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b154823b2c003b00f33a78b51c04522755">Group</a> = 2,
<br>
&nbsp;&nbsp;<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1d826b7be57d84563faa5281dea57a067">Symbol</a> = 3,
<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b106091b2476359f3cb77e54efde1ff4e9">Command</a> = 4,
<a class="el" href="classQextScintillaLexerTeX.html#9b46570bafefb6865d2da439bb17c3b1107f5f805d936e4c6ad270382a4b38e1">Text</a> = 5
<br>
}
</ul>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classQextScintillaLexerTeX.html#ded3543e0a0fc392bb8adbcd8660914e">QextScintillaLexerTeX</a> (TQObject *parent=0, const char *name=0)
<li>virtual <a class="el" href="classQextScintillaLexerTeX.html#51c29124f25bfacfc3a43e85cf616fc1">~QextScintillaLexerTeX</a> ()
<li>const char * <a class="el" href="classQextScintillaLexerTeX.html#1f77892e32f3efe0adac5fa64fd3a6b6">language</a> () const
<li>const char * <a class="el" href="classQextScintillaLexerTeX.html#38a71b9864c9de3e422d696d49b7e4f0">lexer</a> () const
<li><a class="anchor" name="99e30cf15ab2cf80cd9d9ddf9350a959"></a><!-- doxytag: member="QextScintillaLexerTeX::wordCharacters" ref="99e30cf15ab2cf80cd9d9ddf9350a959" args="() const " -->
const char * <b>wordCharacters</b> () const
<li>TQColor <a class="el" href="classQextScintillaLexerTeX.html#814e299720c89aca2180b048faada4f2">color</a> (int style) const
<li>const char * <a class="el" href="classQextScintillaLexerTeX.html#7fd4e6ac4ff5d9ec92b12db7483000c1">keywords</a> (int set) const
<li>TQString <a class="el" href="classQextScintillaLexerTeX.html#179f7f8ae87d3437f7ec3e536f682cd2">description</a> (int style) const
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classQextScintillaLexerTeX.html">QextScintillaLexerTeX</a> class encapsulates the Scintilla TeX lexer.
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="9b46570bafefb6865d2da439bb17c3b1"></a><!-- doxytag: member="QextScintillaLexerTeX::@45" ref="9b46570bafefb6865d2da439bb17c3b1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">anonymous enum </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
This enum defines the meanings of the different styles used by the TeX lexer. <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b137e4297866c11d4c1a540f153ee9e6c0"></a><!-- doxytag: member="Default" ref="9b46570bafefb6865d2da439bb17c3b137e4297866c11d4c1a540f153ee9e6c0" args="" -->Default</em>&nbsp;</td><td>
The default. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b1f46bc40ebff51b439bc0a50c809c9d94"></a><!-- doxytag: member="Special" ref="9b46570bafefb6865d2da439bb17c3b1f46bc40ebff51b439bc0a50c809c9d94" args="" -->Special</em>&nbsp;</td><td>
A special. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b154823b2c003b00f33a78b51c04522755"></a><!-- doxytag: member="Group" ref="9b46570bafefb6865d2da439bb17c3b154823b2c003b00f33a78b51c04522755" args="" -->Group</em>&nbsp;</td><td>
A group. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b1d826b7be57d84563faa5281dea57a067"></a><!-- doxytag: member="Symbol" ref="9b46570bafefb6865d2da439bb17c3b1d826b7be57d84563faa5281dea57a067" args="" -->Symbol</em>&nbsp;</td><td>
A symbol. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b106091b2476359f3cb77e54efde1ff4e9"></a><!-- doxytag: member="Command" ref="9b46570bafefb6865d2da439bb17c3b106091b2476359f3cb77e54efde1ff4e9" args="" -->Command</em>&nbsp;</td><td>
A command. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="9b46570bafefb6865d2da439bb17c3b1107f5f805d936e4c6ad270382a4b38e1"></a><!-- doxytag: member="Text" ref="9b46570bafefb6865d2da439bb17c3b1107f5f805d936e4c6ad270382a4b38e1" args="" -->Text</em>&nbsp;</td><td>
Text. </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ded3543e0a0fc392bb8adbcd8660914e"></a><!-- doxytag: member="QextScintillaLexerTeX::QextScintillaLexerTeX" ref="ded3543e0a0fc392bb8adbcd8660914e" args="(TQObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QextScintillaLexerTeX::QextScintillaLexerTeX </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="classQextScintillaLexerTeX.html">QextScintillaLexerTeX</a> 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.
</div>
</div><p>
<a class="anchor" name="51c29124f25bfacfc3a43e85cf616fc1"></a><!-- doxytag: member="QextScintillaLexerTeX::~QextScintillaLexerTeX" ref="51c29124f25bfacfc3a43e85cf616fc1" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual QextScintillaLexerTeX::~QextScintillaLexerTeX </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="classQextScintillaLexerTeX.html">QextScintillaLexerTeX</a> instance.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1f77892e32f3efe0adac5fa64fd3a6b6"></a><!-- doxytag: member="QextScintillaLexerTeX::language" ref="1f77892e32f3efe0adac5fa64fd3a6b6" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QextScintillaLexerTeX::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>
Implements <a class="el" href="classQextScintillaLexer.html#59c17e312dff4a9aa90b5e4c2a382218">QextScintillaLexer</a>.
</div>
</div><p>
<a class="anchor" name="38a71b9864c9de3e422d696d49b7e4f0"></a><!-- doxytag: member="QextScintillaLexerTeX::lexer" ref="38a71b9864c9de3e422d696d49b7e4f0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QextScintillaLexerTeX::lexer </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 lexer. Some lexers support a number of languages.
<p>
Implements <a class="el" href="classQextScintillaLexer.html#9d63d331f148e68e5cd1dd6b9c3ad7d3">QextScintillaLexer</a>.
</div>
</div><p>
<a class="anchor" name="814e299720c89aca2180b048faada4f2"></a><!-- doxytag: member="QextScintillaLexerTeX::color" ref="814e299720c89aca2180b048faada4f2" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQColor QextScintillaLexerTeX::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="classQextScintillaLexer.html#791c5d4bcab79828d394975344fae6db">paper()</a> </dd></dl>
<p>
Reimplemented from <a class="el" href="classQextScintillaLexer.html#d829bf54912a1909556a517c09857974">QextScintillaLexer</a>.
</div>
</div><p>
<a class="anchor" name="7fd4e6ac4ff5d9ec92b12db7483000c1"></a><!-- doxytag: member="QextScintillaLexerTeX::keywords" ref="7fd4e6ac4ff5d9ec92b12db7483000c1" args="(int set) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QextScintillaLexerTeX::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="classQextScintillaLexer.html#00cc06fe8bce85318fd08890f5f614e4">QextScintillaLexer</a>.
</div>
</div><p>
<a class="anchor" name="179f7f8ae87d3437f7ec3e536f682cd2"></a><!-- doxytag: member="QextScintillaLexerTeX::description" ref="179f7f8ae87d3437f7ec3e536f682cd2" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">TQString QextScintillaLexerTeX::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>
Implements <a class="el" href="classQextScintillaLexer.html#ddcd7beaeee21a59e4f4f5dee8edf0d8">QextScintillaLexer</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>