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
|
<!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: QsciLexerSpice 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
 <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 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 List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">QsciLexerSpice Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="QsciLexerSpice" --><!-- doxytag: inherits="QsciLexer" -->
<p><code>#include <qscilexerspice.h></code></p>
<p>Inherits <a class="el" href="classQsciLexer.html">QsciLexer</a>.</p>
<p><a href="classQsciLexerSpice-members.html">List of all members.</a></p>
<h2><a name="pub-types"></a>
Public Types</h2>
<ul>
<li>enum { <br/>
  <a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1ae728e2775658d836eea997170e04501e">Default</a> = 0,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1a50fad8da4f0a77aa1074fa0be57bff11">Identifier</a> = 1,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1a6cc93c66756e609ac3e73d38ad43cf78">Command</a> = 2,
<br/>
  <a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1ab2ac7b9071a9551de2302ac670e591fb">Function</a> = 3,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1a8ef7c23e297528dd4c2d3b02c0dd6fdc">Parameter</a> = 4,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1aaf786953e3ef1a1302260a6517410550">Number</a> = 5,
<br/>
  <a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1ab8c08b600da91cbcdac1270aa40f318a">Delimiter</a> = 6,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1ab60e5eb1f93052950f0c913b91cacc73">Value</a> = 7,
<a class="el" href="classQsciLexerSpice.html#a2a9fe45c815d1fa1852514d052913ac1aaf9211dff849fb86ce73c0db0168e522">Comment</a> = 8
<br/>
}
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classQsciLexerSpice.html#a7d38d89680d55b7f77463e67634f84be">QsciLexerSpice</a> (QObject *parent=0)
<li><a class="anchor" id="af9821d4ad823bc0840178c6fb9ab7a1d"></a><!-- doxytag: member="QsciLexerSpice::~QsciLexerSpice" ref="af9821d4ad823bc0840178c6fb9ab7a1d" args="()" -->
virtual <a class="el" href="classQsciLexerSpice.html#af9821d4ad823bc0840178c6fb9ab7a1d">~QsciLexerSpice</a> ()
<li><a class="anchor" id="aab324342ae381cb27f5c11f8b48a298c"></a><!-- doxytag: member="QsciLexerSpice::language" ref="aab324342ae381cb27f5c11f8b48a298c" args="() const " -->
const char * <a class="el" href="classQsciLexerSpice.html#aab324342ae381cb27f5c11f8b48a298c">language</a> () const
<li>const char * <a class="el" href="classQsciLexerSpice.html#ad99a7412f936c5ee0aa32355a3dd574e">lexer</a> () const
<li><a class="anchor" id="aa5bbe158f9f090ef95c85230c3ad785d"></a><!-- doxytag: member="QsciLexerSpice::braceStyle" ref="aa5bbe158f9f090ef95c85230c3ad785d" args="() const " -->
int <b>braceStyle</b> () const
<li>const char * <a class="el" href="classQsciLexerSpice.html#a26a90eea078d8388ed9e9276bedafb15">keywords</a> (int set) const
<li>QColor <a class="el" href="classQsciLexerSpice.html#a96079b15456c2de954d1969bede8369f">defaultColor</a> (int style) const
<li><a class="anchor" id="ae2d6091bfbe1d867b464b8307c4a7e37"></a><!-- doxytag: member="QsciLexerSpice::defaultFont" ref="ae2d6091bfbe1d867b464b8307c4a7e37" args="(int style) const " -->
QFont <a class="el" href="classQsciLexerSpice.html#ae2d6091bfbe1d867b464b8307c4a7e37">defaultFont</a> (int style) const
<li>QString <a class="el" href="classQsciLexerSpice.html#a2433e8ea40470ab596a9b491130a7aea">description</a> (int style) const
</ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classQsciLexerSpice.html" title="The QsciLexerSpice class encapsulates the Scintilla Spice lexer.">QsciLexerSpice</a> class encapsulates the Scintilla Spice lexer. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1"></a><!-- doxytag: member="QsciLexerSpice::@22" ref="a2a9fe45c815d1fa1852514d052913ac1" 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 Spice lexer. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1ae728e2775658d836eea997170e04501e"></a><!-- doxytag: member="Default" ref="a2a9fe45c815d1fa1852514d052913ac1ae728e2775658d836eea997170e04501e" args="" -->Default</em> </td><td>
<p>The default. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1a50fad8da4f0a77aa1074fa0be57bff11"></a><!-- doxytag: member="Identifier" ref="a2a9fe45c815d1fa1852514d052913ac1a50fad8da4f0a77aa1074fa0be57bff11" args="" -->Identifier</em> </td><td>
<p>An identifier. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1a6cc93c66756e609ac3e73d38ad43cf78"></a><!-- doxytag: member="Command" ref="a2a9fe45c815d1fa1852514d052913ac1a6cc93c66756e609ac3e73d38ad43cf78" args="" -->Command</em> </td><td>
<p>A command. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1ab2ac7b9071a9551de2302ac670e591fb"></a><!-- doxytag: member="Function" ref="a2a9fe45c815d1fa1852514d052913ac1ab2ac7b9071a9551de2302ac670e591fb" args="" -->Function</em> </td><td>
<p>A function. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1a8ef7c23e297528dd4c2d3b02c0dd6fdc"></a><!-- doxytag: member="Parameter" ref="a2a9fe45c815d1fa1852514d052913ac1a8ef7c23e297528dd4c2d3b02c0dd6fdc" args="" -->Parameter</em> </td><td>
<p>A parameter. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1aaf786953e3ef1a1302260a6517410550"></a><!-- doxytag: member="Number" ref="a2a9fe45c815d1fa1852514d052913ac1aaf786953e3ef1a1302260a6517410550" args="" -->Number</em> </td><td>
<p>A number. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1ab8c08b600da91cbcdac1270aa40f318a"></a><!-- doxytag: member="Delimiter" ref="a2a9fe45c815d1fa1852514d052913ac1ab8c08b600da91cbcdac1270aa40f318a" args="" -->Delimiter</em> </td><td>
<p>A delimiter. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1ab60e5eb1f93052950f0c913b91cacc73"></a><!-- doxytag: member="Value" ref="a2a9fe45c815d1fa1852514d052913ac1ab60e5eb1f93052950f0c913b91cacc73" args="" -->Value</em> </td><td>
<p>A value. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a2a9fe45c815d1fa1852514d052913ac1aaf9211dff849fb86ce73c0db0168e522"></a><!-- doxytag: member="Comment" ref="a2a9fe45c815d1fa1852514d052913ac1aaf9211dff849fb86ce73c0db0168e522" args="" -->Comment</em> </td><td>
<p>A comment. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a7d38d89680d55b7f77463e67634f84be"></a><!-- doxytag: member="QsciLexerSpice::QsciLexerSpice" ref="a7d38d89680d55b7f77463e67634f84be" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QsciLexerSpice::QsciLexerSpice </td>
<td>(</td>
<td class="paramtype">QObject * </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="classQsciLexerSpice.html" title="The QsciLexerSpice class encapsulates the Scintilla Spice lexer.">QsciLexerSpice</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="ad99a7412f936c5ee0aa32355a3dd574e"></a><!-- doxytag: member="QsciLexerSpice::lexer" ref="ad99a7412f936c5ee0aa32355a3dd574e" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QsciLexerSpice::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="classQsciLexer.html#addf8b4d6eb61737395004281360de9a3">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a26a90eea078d8388ed9e9276bedafb15"></a><!-- doxytag: member="QsciLexerSpice::keywords" ref="a26a90eea078d8388ed9e9276bedafb15" args="(int set) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QsciLexerSpice::keywords </td>
<td>(</td>
<td class="paramtype">int </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="classQsciLexer.html#a285bbbe2ac6139779cc28858f58b846d">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a96079b15456c2de954d1969bede8369f"></a><!-- doxytag: member="QsciLexerSpice::defaultColor" ref="a96079b15456c2de954d1969bede8369f" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QColor QsciLexerSpice::defaultColor </td>
<td>(</td>
<td class="paramtype">int </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="classQsciLexer.html#a31126a12c4a841bb471af77d868c6d41">defaultPaper()</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQsciLexer.html#a759d330408fb3db185e1598ff95de24c">QsciLexer</a>.</p>
</div>
</div>
<a class="anchor" id="a2433e8ea40470ab596a9b491130a7aea"></a><!-- doxytag: member="QsciLexerSpice::description" ref="a2433e8ea40470ab596a9b491130a7aea" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QsciLexerSpice::description </td>
<td>(</td>
<td class="paramtype">int </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 descriptive name for style number <em>style</em>. If the style is invalid for this language then an empty QString is returned. This is intended to be used in user preference dialogs. </p>
<p>Implements <a class="el" href="classQsciLexer.html#add9c20adb43bc38d1a0ca3083ac3e6fa">QsciLexer</a>.</p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Thu Sep 11 2014 18:15:20 for QScintilla by  <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>
|