summaryrefslogtreecommitdiffstats
path: root/doc/html/classQextScintillaLexerDiff.html
blob: 78fa800c7e654bf8b55d85eefe7952511297c2ce (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
<!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>QScintilla: QextScintillaLexerDiff 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>QextScintillaLexerDiff Class Reference</h1><!-- doxytag: class="QextScintillaLexerDiff" --><!-- doxytag: inherits="QextScintillaLexer" -->The <a class="el" href="classQextScintillaLexerDiff.html">QextScintillaLexerDiff</a> class encapsulates the Scintilla Diff lexer.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;qextscintillalexerdiff.h&gt;</code>
<p>
Inherits <a class="el" href="classQextScintillaLexer.html">QextScintillaLexer</a>.
<p>
<a href="classQextScintillaLexerDiff-members.html">List of all members.</a><h2>Public Types</h2>
<ul>
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a701e099f532bb96181a427e9da5a1704d5">Default</a> = 0
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a707a7f529f3699fc72da3f259c2661fb43">Comment</a> = 1
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70d0f43a6e272ab88c007c3d5a9f24be56">Command</a> = 2
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70b176f65f0a0e674524232d7e6aa7bb05">Header</a> = 3
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70f07c16d1e763b13988ab6bef5c8c0377">Position</a> = 4
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70540a3db397634130284e62d97c381a59">LineRemoved</a> = 5
<li><a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70454dc3a3786c357a923d262beedb9eea">LineAdded</a> = 6
<li>enum { <br>
&nbsp;&nbsp;<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a701e099f532bb96181a427e9da5a1704d5">Default</a> =  0, 
<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a707a7f529f3699fc72da3f259c2661fb43">Comment</a> =  1, 
<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70d0f43a6e272ab88c007c3d5a9f24be56">Command</a> =  2, 
<br>
&nbsp;&nbsp;<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70b176f65f0a0e674524232d7e6aa7bb05">Header</a> =  3, 
<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70f07c16d1e763b13988ab6bef5c8c0377">Position</a> =  4, 
<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70540a3db397634130284e62d97c381a59">LineRemoved</a> =  5, 
<br>
&nbsp;&nbsp;<a class="el" href="classQextScintillaLexerDiff.html#7ba1bdc799b7a43cadf2cff4364e5a70454dc3a3786c357a923d262beedb9eea">LineAdded</a> =  6
<br>
 }
</ul>
<h2>Public Member Functions</h2>
<ul>
<li><a class="el" href="classQextScintillaLexerDiff.html#6f3d75165a8b7041502a84ee2226d828">QextScintillaLexerDiff</a> (QObject *parent=0, const char *name=0)
<li>virtual <a class="el" href="classQextScintillaLexerDiff.html#bf28861883962d75839eae6f84056781">~QextScintillaLexerDiff</a> ()
<li>const char * <a class="el" href="classQextScintillaLexerDiff.html#4715beb7d4383a55b02273a28c721753">language</a> () const 
<li>const char * <a class="el" href="classQextScintillaLexerDiff.html#19bdc2bd977ea621073ea5cac4c51d5a">lexer</a> () const 
<li><a class="anchor" name="e23303d80b05819e9a3bc9e4059e2aee"></a><!-- doxytag: member="QextScintillaLexerDiff::wordCharacters" ref="e23303d80b05819e9a3bc9e4059e2aee" args="() const " -->
const char * <b>wordCharacters</b> () const 
<li>QColor <a class="el" href="classQextScintillaLexerDiff.html#9c75450ec59c6b9754e9946c765531aa">color</a> (int style) const 
<li>QString <a class="el" href="classQextScintillaLexerDiff.html#4ac748484ccda53f6fa3baee5a3ff52e">description</a> (int style) const 
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classQextScintillaLexerDiff.html">QextScintillaLexerDiff</a> class encapsulates the Scintilla Diff lexer. 
<p>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70"></a><!-- doxytag: member="QextScintillaLexerDiff::@35" ref="7ba1bdc799b7a43cadf2cff4364e5a70" 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 Diff 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="7ba1bdc799b7a43cadf2cff4364e5a701e099f532bb96181a427e9da5a1704d5"></a><!-- doxytag: member="Default" ref="7ba1bdc799b7a43cadf2cff4364e5a701e099f532bb96181a427e9da5a1704d5" args="" -->Default</em>&nbsp;</td><td>
The default. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a707a7f529f3699fc72da3f259c2661fb43"></a><!-- doxytag: member="Comment" ref="7ba1bdc799b7a43cadf2cff4364e5a707a7f529f3699fc72da3f259c2661fb43" args="" -->Comment</em>&nbsp;</td><td>
A comment. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70d0f43a6e272ab88c007c3d5a9f24be56"></a><!-- doxytag: member="Command" ref="7ba1bdc799b7a43cadf2cff4364e5a70d0f43a6e272ab88c007c3d5a9f24be56" args="" -->Command</em>&nbsp;</td><td>
A command. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70b176f65f0a0e674524232d7e6aa7bb05"></a><!-- doxytag: member="Header" ref="7ba1bdc799b7a43cadf2cff4364e5a70b176f65f0a0e674524232d7e6aa7bb05" args="" -->Header</em>&nbsp;</td><td>
A header. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70f07c16d1e763b13988ab6bef5c8c0377"></a><!-- doxytag: member="Position" ref="7ba1bdc799b7a43cadf2cff4364e5a70f07c16d1e763b13988ab6bef5c8c0377" args="" -->Position</em>&nbsp;</td><td>
A position. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70540a3db397634130284e62d97c381a59"></a><!-- doxytag: member="LineRemoved" ref="7ba1bdc799b7a43cadf2cff4364e5a70540a3db397634130284e62d97c381a59" args="" -->LineRemoved</em>&nbsp;</td><td>
A removed line. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="7ba1bdc799b7a43cadf2cff4364e5a70454dc3a3786c357a923d262beedb9eea"></a><!-- doxytag: member="LineAdded" ref="7ba1bdc799b7a43cadf2cff4364e5a70454dc3a3786c357a923d262beedb9eea" args="" -->LineAdded</em>&nbsp;</td><td>
An added line. </td></tr>
</table>
</dl>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="6f3d75165a8b7041502a84ee2226d828"></a><!-- doxytag: member="QextScintillaLexerDiff::QextScintillaLexerDiff" ref="6f3d75165a8b7041502a84ee2226d828" args="(QObject *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QextScintillaLexerDiff::QextScintillaLexerDiff           </td>
          <td>(</td>
          <td class="paramtype">QObject *&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="classQextScintillaLexerDiff.html">QextScintillaLexerDiff</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="bf28861883962d75839eae6f84056781"></a><!-- doxytag: member="QextScintillaLexerDiff::~QextScintillaLexerDiff" ref="bf28861883962d75839eae6f84056781" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QextScintillaLexerDiff::~QextScintillaLexerDiff           </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="classQextScintillaLexerDiff.html">QextScintillaLexerDiff</a> instance. 
<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="4715beb7d4383a55b02273a28c721753"></a><!-- doxytag: member="QextScintillaLexerDiff::language" ref="4715beb7d4383a55b02273a28c721753" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* QextScintillaLexerDiff::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="19bdc2bd977ea621073ea5cac4c51d5a"></a><!-- doxytag: member="QextScintillaLexerDiff::lexer" ref="19bdc2bd977ea621073ea5cac4c51d5a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* QextScintillaLexerDiff::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="9c75450ec59c6b9754e9946c765531aa"></a><!-- doxytag: member="QextScintillaLexerDiff::color" ref="9c75450ec59c6b9754e9946c765531aa" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor QextScintillaLexerDiff::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="4ac748484ccda53f6fa3baee5a3ff52e"></a><!-- doxytag: member="QextScintillaLexerDiff::description" ref="4ac748484ccda53f6fa3baee5a3ff52e" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QextScintillaLexerDiff::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 QString::null 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 QScintilla 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>