You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tqscintilla/doc/html/classQextScintillaLexerDiff...

244 lines
13 KiB

<!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: 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> (TQObject *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>TQColor <a class="el" href="classQextScintillaLexerDiff.html#9c75450ec59c6b9754e9946c765531aa">color</a> (int style) const
<li>TQString <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="(TQObject *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">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="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">TQColor 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">TQString 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 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>