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
|
<!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: QsciLexerDiff 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">QsciLexerDiff Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="QsciLexerDiff" --><!-- doxytag: inherits="QsciLexer" -->
<p><code>#include <qscilexerdiff.h></code></p>
<p>Inherits <a class="el" href="classQsciLexer.html">QsciLexer</a>.</p>
<p><a href="classQsciLexerDiff-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="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3a560492ffddbda30de0d92016d0bdab3a">Default</a> = 0,
<a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3afd5a8fe2739897289a175a9879e01c36">Comment</a> = 1,
<a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3afac6f4ef8f0ab21714d58649c205dfda">Command</a> = 2,
<br/>
  <a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3a2370144fb29df0b9814433d2bf58ab81">Header</a> = 3,
<a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3a4820b79815efb26525981af5a8901010">Position</a> = 4,
<a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3ac238c7bf06c491fed577dec0d329977b">LineRemoved</a> = 5,
<br/>
  <a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3a6c0ca334fc11dfc9bd55daac89fbf357">LineAdded</a> = 6,
<a class="el" href="classQsciLexerDiff.html#a7a87127020a797df2b5645cec61d1ca3ab5fd263b12088142f07d41a8f5a4e73c">LineChanged</a> = 7
<br/>
}
</ul>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="classQsciLexerDiff.html#af1c70ba1dfa8ccf5fe2106069041cd5e">QsciLexerDiff</a> (QObject *parent=0)
<li><a class="anchor" id="ae3deccb74fbb24c32621e70d0e94355a"></a><!-- doxytag: member="QsciLexerDiff::~QsciLexerDiff" ref="ae3deccb74fbb24c32621e70d0e94355a" args="()" -->
virtual <a class="el" href="classQsciLexerDiff.html#ae3deccb74fbb24c32621e70d0e94355a">~QsciLexerDiff</a> ()
<li><a class="anchor" id="ae4f1c1e7ab9b6fb6c890d3233b89d49f"></a><!-- doxytag: member="QsciLexerDiff::language" ref="ae4f1c1e7ab9b6fb6c890d3233b89d49f" args="() const " -->
const char * <a class="el" href="classQsciLexerDiff.html#ae4f1c1e7ab9b6fb6c890d3233b89d49f">language</a> () const
<li>const char * <a class="el" href="classQsciLexerDiff.html#ae1308da82f4829932e8fe991d0379cf0">lexer</a> () const
<li><a class="anchor" id="a944ddd7d04d555118df6686546328133"></a><!-- doxytag: member="QsciLexerDiff::wordCharacters" ref="a944ddd7d04d555118df6686546328133" args="() const " -->
const char * <a class="el" href="classQsciLexerDiff.html#a944ddd7d04d555118df6686546328133">wordCharacters</a> () const
<li><a class="anchor" id="a46b002bad6faea4d3569458d6f02e735"></a><!-- doxytag: member="QsciLexerDiff::defaultColor" ref="a46b002bad6faea4d3569458d6f02e735" args="(int style) const " -->
QColor <a class="el" href="classQsciLexerDiff.html#a46b002bad6faea4d3569458d6f02e735">defaultColor</a> (int style) const
<li>QString <a class="el" href="classQsciLexerDiff.html#afa49bffd1fbb48bbc7c921ab05e2d769">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="classQsciLexerDiff.html" title="The QsciLexerDiff class encapsulates the Scintilla Diff lexer.">QsciLexerDiff</a> class encapsulates the Scintilla Diff lexer. </p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3"></a><!-- doxytag: member="QsciLexerDiff::@8" ref="a7a87127020a797df2b5645cec61d1ca3" 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. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3a560492ffddbda30de0d92016d0bdab3a"></a><!-- doxytag: member="Default" ref="a7a87127020a797df2b5645cec61d1ca3a560492ffddbda30de0d92016d0bdab3a" args="" -->Default</em> </td><td>
<p>The default. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3afd5a8fe2739897289a175a9879e01c36"></a><!-- doxytag: member="Comment" ref="a7a87127020a797df2b5645cec61d1ca3afd5a8fe2739897289a175a9879e01c36" args="" -->Comment</em> </td><td>
<p>A comment. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3afac6f4ef8f0ab21714d58649c205dfda"></a><!-- doxytag: member="Command" ref="a7a87127020a797df2b5645cec61d1ca3afac6f4ef8f0ab21714d58649c205dfda" args="" -->Command</em> </td><td>
<p>A command. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3a2370144fb29df0b9814433d2bf58ab81"></a><!-- doxytag: member="Header" ref="a7a87127020a797df2b5645cec61d1ca3a2370144fb29df0b9814433d2bf58ab81" args="" -->Header</em> </td><td>
<p>A header. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3a4820b79815efb26525981af5a8901010"></a><!-- doxytag: member="Position" ref="a7a87127020a797df2b5645cec61d1ca3a4820b79815efb26525981af5a8901010" args="" -->Position</em> </td><td>
<p>A position. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3ac238c7bf06c491fed577dec0d329977b"></a><!-- doxytag: member="LineRemoved" ref="a7a87127020a797df2b5645cec61d1ca3ac238c7bf06c491fed577dec0d329977b" args="" -->LineRemoved</em> </td><td>
<p>A removed line. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3a6c0ca334fc11dfc9bd55daac89fbf357"></a><!-- doxytag: member="LineAdded" ref="a7a87127020a797df2b5645cec61d1ca3a6c0ca334fc11dfc9bd55daac89fbf357" args="" -->LineAdded</em> </td><td>
<p>An added line. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a7a87127020a797df2b5645cec61d1ca3ab5fd263b12088142f07d41a8f5a4e73c"></a><!-- doxytag: member="LineChanged" ref="a7a87127020a797df2b5645cec61d1ca3ab5fd263b12088142f07d41a8f5a4e73c" args="" -->LineChanged</em> </td><td>
<p>A changed line. </p>
</td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="af1c70ba1dfa8ccf5fe2106069041cd5e"></a><!-- doxytag: member="QsciLexerDiff::QsciLexerDiff" ref="af1c70ba1dfa8ccf5fe2106069041cd5e" args="(QObject *parent=0)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QsciLexerDiff::QsciLexerDiff </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="classQsciLexerDiff.html" title="The QsciLexerDiff class encapsulates the Scintilla Diff lexer.">QsciLexerDiff</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="ae1308da82f4829932e8fe991d0379cf0"></a><!-- doxytag: member="QsciLexerDiff::lexer" ref="ae1308da82f4829932e8fe991d0379cf0" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const char* QsciLexerDiff::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="afa49bffd1fbb48bbc7c921ab05e2d769"></a><!-- doxytag: member="QsciLexerDiff::description" ref="afa49bffd1fbb48bbc7c921ab05e2d769" args="(int style) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QString QsciLexerDiff::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>
|