File: classQsciLexerXML.html

package info (click to toggle)
qscintilla2 2.8.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 20,080 kB
  • ctags: 15,075
  • sloc: cpp: 103,355; ansic: 2,762; python: 1,222; makefile: 212
file content (322 lines) | stat: -rw-r--r-- 14,473 bytes parent folder | download
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QScintilla: QsciLexerXML Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QScintilla
   &#160;<span id="projectnumber">2.8.4</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">QsciLexerXML Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="QsciLexerXML" --><!-- doxytag: inherits="QsciLexerHTML" -->
<p><code>#include &lt;qscilexerxml.h&gt;</code></p>

<p>Inherits <a class="el" href="classQsciLexerHTML.html">QsciLexerHTML</a>.</p>

<p><a href="classQsciLexerXML-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classQsciLexerXML.html#a9fc5fef8f86ef0f1162a18ca4cc88aa1">QsciLexerXML</a> (QObject *parent=0)
<li><a class="anchor" id="a89f9fc2c333d559ed9489cc6b121b91e"></a><!-- doxytag: member="QsciLexerXML::~QsciLexerXML" ref="a89f9fc2c333d559ed9489cc6b121b91e" args="()" -->
virtual <a class="el" href="classQsciLexerXML.html#a89f9fc2c333d559ed9489cc6b121b91e">~QsciLexerXML</a> ()
<li><a class="anchor" id="a3dae6495016f96885c04fd01964266a4"></a><!-- doxytag: member="QsciLexerXML::language" ref="a3dae6495016f96885c04fd01964266a4" args="() const " -->
const char * <a class="el" href="classQsciLexerXML.html#a3dae6495016f96885c04fd01964266a4">language</a> () const 
<li>const char * <a class="el" href="classQsciLexerXML.html#aaca27540a9a14495437784665c745728">lexer</a> () const 
<li>QColor <a class="el" href="classQsciLexerXML.html#a9c1acb4c464f3dc964622822d4511672">defaultColor</a> (int style) const 
<li><a class="anchor" id="acfa0419b4bba24d741438d1dd9d16661"></a><!-- doxytag: member="QsciLexerXML::defaultEolFill" ref="acfa0419b4bba24d741438d1dd9d16661" args="(int style) const " -->
bool <a class="el" href="classQsciLexerXML.html#acfa0419b4bba24d741438d1dd9d16661">defaultEolFill</a> (int style) const 
<li><a class="anchor" id="aec20c6353d4a904c004de0d1cd7b49cf"></a><!-- doxytag: member="QsciLexerXML::defaultFont" ref="aec20c6353d4a904c004de0d1cd7b49cf" args="(int style) const " -->
QFont <a class="el" href="classQsciLexerXML.html#aec20c6353d4a904c004de0d1cd7b49cf">defaultFont</a> (int style) const 
<li>QColor <a class="el" href="classQsciLexerXML.html#a01c743be1e7b238becc85a39948f779a">defaultPaper</a> (int style) const 
<li>const char * <a class="el" href="classQsciLexerXML.html#ae58ad81e62babe882802c26fce659c59">keywords</a> (int set) const 
<li>void <a class="el" href="classQsciLexerXML.html#a29937d422c25f17612c57e16a7bddaf1">refreshProperties</a> ()
<li>void <a class="el" href="classQsciLexerXML.html#a7bbfdb6b269b6e52791fcbf1df60731e">setScriptsStyled</a> (bool styled)
<li>bool <a class="el" href="classQsciLexerXML.html#aacb09af83109b1c5b1fc58653e2a728b">scriptsStyled</a> () const 
</ul>
<h2><a name="pro-methods"></a>
Protected Member Functions</h2>
<ul>
<li>bool <a class="el" href="classQsciLexerXML.html#a2acbf99b93c18d9a9f922c9e2894bf4f">readProperties</a> (QSettings &amp;qs, const QString &amp;prefix)
<li>bool <a class="el" href="classQsciLexerXML.html#ad3cde97557972ddd7e75f1a43829bff5">writeProperties</a> (QSettings &amp;qs, const QString &amp;prefix) const 
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classQsciLexerXML.html" title="The QsciLexerXML class encapsulates the Scintilla XML lexer.">QsciLexerXML</a> class encapsulates the Scintilla XML lexer. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9fc5fef8f86ef0f1162a18ca4cc88aa1"></a><!-- doxytag: member="QsciLexerXML::QsciLexerXML" ref="a9fc5fef8f86ef0f1162a18ca4cc88aa1" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QsciLexerXML::QsciLexerXML </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Construct a <a class="el" href="classQsciLexerXML.html" title="The QsciLexerXML class encapsulates the Scintilla XML lexer.">QsciLexerXML</a> with parent <em>parent</em>. <em>parent</em> is typically the <a class="el" href="classQsciScintilla.html" title="The QsciScintilla class implements a higher level, more Qt-like, API to the Scintilla editor widget...">QsciScintilla</a> instance. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaca27540a9a14495437784665c745728"></a><!-- doxytag: member="QsciLexerXML::lexer" ref="aaca27540a9a14495437784665c745728" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* QsciLexerXML::lexer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> 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>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#a62963030444a9e39ddb8cbc0f62166b1">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="a9c1acb4c464f3dc964622822d4511672"></a><!-- doxytag: member="QsciLexerXML::defaultColor" ref="a9c1acb4c464f3dc964622822d4511672" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor QsciLexerXML::defaultColor </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>style</em></td><td>)</td>
          <td> 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 class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerXML.html#a01c743be1e7b238becc85a39948f779a">defaultPaper()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#af917318eacd1d11b3b40ee3ea74813ac">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="a01c743be1e7b238becc85a39948f779a"></a><!-- doxytag: member="QsciLexerXML::defaultPaper" ref="a01c743be1e7b238becc85a39948f779a" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QColor QsciLexerXML::defaultPaper </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>style</em></td><td>)</td>
          <td> 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 class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerXML.html#a9c1acb4c464f3dc964622822d4511672">defaultColor()</a> </dd></dl>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#a6df0b87f6e1d0cd8f83cb2283fa34277">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="ae58ad81e62babe882802c26fce659c59"></a><!-- doxytag: member="QsciLexerXML::keywords" ref="ae58ad81e62babe882802c26fce659c59" args="(int set) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* QsciLexerXML::keywords </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>set</em></td><td>)</td>
          <td> 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>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#a8b0b6ba87a84ed15a7ca76589f165146">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="a29937d422c25f17612c57e16a7bddaf1"></a><!-- doxytag: member="QsciLexerXML::refreshProperties" ref="a29937d422c25f17612c57e16a7bddaf1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QsciLexerXML::refreshProperties </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Causes all properties to be refreshed by emitting the <a class="el" href="classQsciLexer.html#acd8475f0da36449dc6b1189a587d7a83">propertyChanged()</a> signal as required. </p>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#a7c73d608fd96b019e70ebf448de23357">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="a7bbfdb6b269b6e52791fcbf1df60731e"></a><!-- doxytag: member="QsciLexerXML::setScriptsStyled" ref="a7bbfdb6b269b6e52791fcbf1df60731e" args="(bool styled)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void QsciLexerXML::setScriptsStyled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>styled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>If <em>allowed</em> is true then scripts are styled. The default is true.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerXML.html#aacb09af83109b1c5b1fc58653e2a728b">scriptsStyled()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aacb09af83109b1c5b1fc58653e2a728b"></a><!-- doxytag: member="QsciLexerXML::scriptsStyled" ref="aacb09af83109b1c5b1fc58653e2a728b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QsciLexerXML::scriptsStyled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if scripts are styled.</p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classQsciLexerXML.html#a7bbfdb6b269b6e52791fcbf1df60731e">setScriptsStyled()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2acbf99b93c18d9a9f922c9e2894bf4f"></a><!-- doxytag: member="QsciLexerXML::readProperties" ref="a2acbf99b93c18d9a9f922c9e2894bf4f" args="(QSettings &amp;qs, const QString &amp;prefix)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QsciLexerXML::readProperties </td>
          <td>(</td>
          <td class="paramtype">QSettings &amp;&#160;</td>
          <td class="paramname"><em>qs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>prefix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The lexer's properties are read from the settings <em>qs</em>. <em>prefix</em> (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error. </p>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#ab9ae7a11b4c9ba6f62d795dce8d6fab8">QsciLexerHTML</a>.</p>

</div>
</div>
<a class="anchor" id="ad3cde97557972ddd7e75f1a43829bff5"></a><!-- doxytag: member="QsciLexerXML::writeProperties" ref="ad3cde97557972ddd7e75f1a43829bff5" args="(QSettings &amp;qs, const QString &amp;prefix) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool QsciLexerXML::writeProperties </td>
          <td>(</td>
          <td class="paramtype">QSettings &amp;&#160;</td>
          <td class="paramname"><em>qs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>prefix</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The lexer's properties are written to the settings <em>qs</em>. <em>prefix</em> (which has a trailing '/') should be used as a prefix to the key of each setting. true is returned if there is no error. </p>

<p>Reimplemented from <a class="el" href="classQsciLexerHTML.html#acb727f596815fc15ab9f26e81f62b242">QsciLexerHTML</a>.</p>

</div>
</div>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Thu Sep 11 2014 18:15:20 for QScintilla by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>