summaryrefslogtreecommitdiffstats
path: root/doc/html/classQextScintillaLexerTeX.html
blob: 7ccfb85aecf97c9fbb7d969e7eca910d3a41d113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<!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>