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.
521 lines
29 KiB
521 lines
29 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: QextScintillaLexerCSS 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 Page</span></a></li>
|
|
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<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>
|
|
<h1>QextScintillaLexerCSS Class Reference</h1><!-- doxytag: class="QextScintillaLexerCSS" --><!-- doxytag: inherits="QextScintillaLexer" -->The <a class="el" href="classQextScintillaLexerCSS.html">QextScintillaLexerCSS</a> class encapsulates the Scintilla CSS lexer.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <qextscintillalexercss.h></code>
|
|
<p>
|
|
Inherits <a class="el" href="classQextScintillaLexer.html">QextScintillaLexer</a>.
|
|
<p>
|
|
<a href="classQextScintillaLexerCSS-members.html">List of all members.</a><h2>Public Types</h2>
|
|
<ul>
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4679d6fe6a601a7f243e27282a03bb93">Default</a> = 0
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e1f02f2a7b12f3e34377e76de8029dfd8">Tag</a> = 1
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ea3d2732711a0dccb1448cab829c25fb0">ClassSelector</a> = 2
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e06a85dfafc228beac3ee921787d24a58">PseudoClass</a> = 3
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ec941f6ffc69fb441984af322192e2303">UnknownPseudoClass</a> = 4
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e1d8a0b51d47e279fc4464acee1d3c7f1">Operator</a> = 5
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e65152fb00b7475ab5ba6f1a8a543b838">CSS1Property</a> = 6
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ed603e47cf6a284ceba2843986fb3c815">UnknownProperty</a> = 7
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46eb498123b9895b4418df2a6ea4e37ffba">Value</a> = 8
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e24551f9f522fc3d8c7d4418c1ac40948">Comment</a> = 9
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e8d7c400afb704e2d0fc63f3a8cab28b3">IDSelector</a> = 10
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e540329d3fdd141ef03f541e21ff8055a">Important</a> = 11
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e6f253e451e5ad04f41595359014ccfe4">AtRule</a> = 12
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e69018092b57e87a9c575c4a2ed18eb25">DoubleQuotedString</a> = 13
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3">SingleQuotedString</a> = 14
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ed045bc94f46fc560c4c321920a76a911">CSS2Property</a> = 15
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46eec81bfe9fb155cd9273850b265b20dfa">Attribute</a> = 16
|
|
<li>enum { <br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4679d6fe6a601a7f243e27282a03bb93">Default</a> = 0,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e1f02f2a7b12f3e34377e76de8029dfd8">Tag</a> = 1,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ea3d2732711a0dccb1448cab829c25fb0">ClassSelector</a> = 2,
|
|
<br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e06a85dfafc228beac3ee921787d24a58">PseudoClass</a> = 3,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ec941f6ffc69fb441984af322192e2303">UnknownPseudoClass</a> = 4,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e1d8a0b51d47e279fc4464acee1d3c7f1">Operator</a> = 5,
|
|
<br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e65152fb00b7475ab5ba6f1a8a543b838">CSS1Property</a> = 6,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ed603e47cf6a284ceba2843986fb3c815">UnknownProperty</a> = 7,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46eb498123b9895b4418df2a6ea4e37ffba">Value</a> = 8,
|
|
<br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e24551f9f522fc3d8c7d4418c1ac40948">Comment</a> = 9,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e8d7c400afb704e2d0fc63f3a8cab28b3">IDSelector</a> = 10,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e540329d3fdd141ef03f541e21ff8055a">Important</a> = 11,
|
|
<br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e6f253e451e5ad04f41595359014ccfe4">AtRule</a> = 12,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e69018092b57e87a9c575c4a2ed18eb25">DoubleQuotedString</a> = 13,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3">SingleQuotedString</a> = 14,
|
|
<br>
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46ed045bc94f46fc560c4c321920a76a911">CSS2Property</a> = 15,
|
|
<a class="el" href="classQextScintillaLexerCSS.html#c8ee4747b06e3739126a3ae64f9cb46eec81bfe9fb155cd9273850b265b20dfa">Attribute</a> = 16
|
|
<br>
|
|
}
|
|
</ul>
|
|
<h2>Public Slots</h2>
|
|
<ul>
|
|
<li>virtual void <a class="el" href="classQextScintillaLexerCSS.html#b5125b393e37e0742c9364301738a1c0">setFoldComments</a> (bool fold)
|
|
<li>virtual void <a class="el" href="classQextScintillaLexerCSS.html#f818c14fc087298ae165a85b5f13a9dc">setFoldCompact</a> (bool fold)
|
|
</ul>
|
|
<h2>Public Member Functions</h2>
|
|
<ul>
|
|
<li><a class="el" href="classQextScintillaLexerCSS.html#158086fb9f29682c3f0db383b87c535b">QextScintillaLexerCSS</a> (TQObject *parent=0, const char *name=0)
|
|
<li>virtual <a class="el" href="classQextScintillaLexerCSS.html#64da1307d9e09341f055df5b73c07b94">~QextScintillaLexerCSS</a> ()
|
|
<li>const char * <a class="el" href="classQextScintillaLexerCSS.html#6cb3e5679fd928c05b8fab7e9ad84c64">language</a> () const
|
|
<li>const char * <a class="el" href="classQextScintillaLexerCSS.html#0f28f522d2b53c7025ab3d227fd1c1ab">lexer</a> () const
|
|
<li><a class="anchor" name="9788e63aece9626ac1d6e244a85e879a"></a><!-- doxytag: member="QextScintillaLexerCSS::blockEnd" ref="9788e63aece9626ac1d6e244a85e879a" args="(int *style=0) const " -->
|
|
const char * <b>blockEnd</b> (int *style=0) const
|
|
<li><a class="anchor" name="699a7595510b4fe780725e48407a92c9"></a><!-- doxytag: member="QextScintillaLexerCSS::blockStart" ref="699a7595510b4fe780725e48407a92c9" args="(int *style=0) const " -->
|
|
const char * <b>blockStart</b> (int *style=0) const
|
|
<li><a class="anchor" name="2160ca94befc05e478a70a10e564c64b"></a><!-- doxytag: member="QextScintillaLexerCSS::wordCharacters" ref="2160ca94befc05e478a70a10e564c64b" args="() const " -->
|
|
const char * <b>wordCharacters</b> () const
|
|
<li>TQColor <a class="el" href="classQextScintillaLexerCSS.html#09621fd74b9371c31cfaadc8373c0602">color</a> (int style) const
|
|
<li>TQFont <a class="el" href="classQextScintillaLexerCSS.html#24017481b708e8c7f272d772e5a1571f">font</a> (int style) const
|
|
<li>const char * <a class="el" href="classQextScintillaLexerCSS.html#692a86b42d52180ffb1430d96902dac8">keywords</a> (int set) const
|
|
<li>TQString <a class="el" href="classQextScintillaLexerCSS.html#d766fb0ca5b027f9b5e01922210384ac">description</a> (int style) const
|
|
<li>void <a class="el" href="classQextScintillaLexerCSS.html#2954acc8e9d84e6eac7b59bd5409f962">refreshProperties</a> ()
|
|
<li>bool <a class="el" href="classQextScintillaLexerCSS.html#750d95e4905869983a7c984bd05b5148">foldComments</a> () const
|
|
<li>bool <a class="el" href="classQextScintillaLexerCSS.html#5dbd7dcf8cd46e76e0a08dd8be2759a3">foldCompact</a> () const
|
|
</ul>
|
|
<h2>Protected Member Functions</h2>
|
|
<ul>
|
|
<li>bool <a class="el" href="classQextScintillaLexerCSS.html#2618234cfaaa7bc4d24db9df5e423417">readProperties</a> (TQSettings &qs, const TQString &prefix)
|
|
<li>bool <a class="el" href="classQextScintillaLexerCSS.html#8c61265f2e059f652de67fac9e0c67fd">writeProperties</a> (TQSettings &qs, const TQString &prefix) const
|
|
</ul>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
The <a class="el" href="classQextScintillaLexerCSS.html">QextScintillaLexerCSS</a> class encapsulates the Scintilla CSS lexer.
|
|
<p>
|
|
<hr><h2>Member Enumeration Documentation</h2>
|
|
<a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e"></a><!-- doxytag: member="QextScintillaLexerCSS::@34" ref="c8ee4747b06e3739126a3ae64f9cb46e" 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 CSS 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="c8ee4747b06e3739126a3ae64f9cb46e4679d6fe6a601a7f243e27282a03bb93"></a><!-- doxytag: member="Default" ref="c8ee4747b06e3739126a3ae64f9cb46e4679d6fe6a601a7f243e27282a03bb93" args="" -->Default</em> </td><td>
|
|
The default. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e1f02f2a7b12f3e34377e76de8029dfd8"></a><!-- doxytag: member="Tag" ref="c8ee4747b06e3739126a3ae64f9cb46e1f02f2a7b12f3e34377e76de8029dfd8" args="" -->Tag</em> </td><td>
|
|
A tag. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46ea3d2732711a0dccb1448cab829c25fb0"></a><!-- doxytag: member="ClassSelector" ref="c8ee4747b06e3739126a3ae64f9cb46ea3d2732711a0dccb1448cab829c25fb0" args="" -->ClassSelector</em> </td><td>
|
|
A class selector. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e06a85dfafc228beac3ee921787d24a58"></a><!-- doxytag: member="PseudoClass" ref="c8ee4747b06e3739126a3ae64f9cb46e06a85dfafc228beac3ee921787d24a58" args="" -->PseudoClass</em> </td><td>
|
|
A pseudo-class. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46ec941f6ffc69fb441984af322192e2303"></a><!-- doxytag: member="UnknownPseudoClass" ref="c8ee4747b06e3739126a3ae64f9cb46ec941f6ffc69fb441984af322192e2303" args="" -->UnknownPseudoClass</em> </td><td>
|
|
An pseudo-class. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e1d8a0b51d47e279fc4464acee1d3c7f1"></a><!-- doxytag: member="Operator" ref="c8ee4747b06e3739126a3ae64f9cb46e1d8a0b51d47e279fc4464acee1d3c7f1" args="" -->Operator</em> </td><td>
|
|
An operator. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e65152fb00b7475ab5ba6f1a8a543b838"></a><!-- doxytag: member="CSS1Property" ref="c8ee4747b06e3739126a3ae64f9cb46e65152fb00b7475ab5ba6f1a8a543b838" args="" -->CSS1Property</em> </td><td>
|
|
A CSS1 property. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46ed603e47cf6a284ceba2843986fb3c815"></a><!-- doxytag: member="UnknownProperty" ref="c8ee4747b06e3739126a3ae64f9cb46ed603e47cf6a284ceba2843986fb3c815" args="" -->UnknownProperty</em> </td><td>
|
|
An unknown property. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46eb498123b9895b4418df2a6ea4e37ffba"></a><!-- doxytag: member="Value" ref="c8ee4747b06e3739126a3ae64f9cb46eb498123b9895b4418df2a6ea4e37ffba" args="" -->Value</em> </td><td>
|
|
A value. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e24551f9f522fc3d8c7d4418c1ac40948"></a><!-- doxytag: member="Comment" ref="c8ee4747b06e3739126a3ae64f9cb46e24551f9f522fc3d8c7d4418c1ac40948" args="" -->Comment</em> </td><td>
|
|
A comment. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e8d7c400afb704e2d0fc63f3a8cab28b3"></a><!-- doxytag: member="IDSelector" ref="c8ee4747b06e3739126a3ae64f9cb46e8d7c400afb704e2d0fc63f3a8cab28b3" args="" -->IDSelector</em> </td><td>
|
|
An ID selector. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e540329d3fdd141ef03f541e21ff8055a"></a><!-- doxytag: member="Important" ref="c8ee4747b06e3739126a3ae64f9cb46e540329d3fdd141ef03f541e21ff8055a" args="" -->Important</em> </td><td>
|
|
An important value. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e6f253e451e5ad04f41595359014ccfe4"></a><!-- doxytag: member="AtRule" ref="c8ee4747b06e3739126a3ae64f9cb46e6f253e451e5ad04f41595359014ccfe4" args="" -->AtRule</em> </td><td>
|
|
An @-rule. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e69018092b57e87a9c575c4a2ed18eb25"></a><!-- doxytag: member="DoubleQuotedString" ref="c8ee4747b06e3739126a3ae64f9cb46e69018092b57e87a9c575c4a2ed18eb25" args="" -->DoubleQuotedString</em> </td><td>
|
|
A double-quoted string. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3"></a><!-- doxytag: member="SingleQuotedString" ref="c8ee4747b06e3739126a3ae64f9cb46e4a6cf494de949384a8205d4dc6f320f3" args="" -->SingleQuotedString</em> </td><td>
|
|
A single-quoted string. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46ed045bc94f46fc560c4c321920a76a911"></a><!-- doxytag: member="CSS2Property" ref="c8ee4747b06e3739126a3ae64f9cb46ed045bc94f46fc560c4c321920a76a911" args="" -->CSS2Property</em> </td><td>
|
|
A CSS2 property. </td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" name="c8ee4747b06e3739126a3ae64f9cb46eec81bfe9fb155cd9273850b265b20dfa"></a><!-- doxytag: member="Attribute" ref="c8ee4747b06e3739126a3ae64f9cb46eec81bfe9fb155cd9273850b265b20dfa" args="" -->Attribute</em> </td><td>
|
|
An attribute. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="158086fb9f29682c3f0db383b87c535b"></a><!-- doxytag: member="QextScintillaLexerCSS::QextScintillaLexerCSS" ref="158086fb9f29682c3f0db383b87c535b" args="(TQObject *parent=0, const char *name=0)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">QextScintillaLexerCSS::QextScintillaLexerCSS </td>
|
|
<td>(</td>
|
|
<td class="paramtype">TQObject * </td>
|
|
<td class="paramname"> <em>parent</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"> <em>name</em> = <code>0</code></td><td> </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="classQextScintillaLexerCSS.html">QextScintillaLexerCSS</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="64da1307d9e09341f055df5b73c07b94"></a><!-- doxytag: member="QextScintillaLexerCSS::~QextScintillaLexerCSS" ref="64da1307d9e09341f055df5b73c07b94" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual QextScintillaLexerCSS::~QextScintillaLexerCSS </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Destroys the <a class="el" href="classQextScintillaLexerCSS.html">QextScintillaLexerCSS</a> instance.
|
|
<p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="6cb3e5679fd928c05b8fab7e9ad84c64"></a><!-- doxytag: member="QextScintillaLexerCSS::language" ref="6cb3e5679fd928c05b8fab7e9ad84c64" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* QextScintillaLexerCSS::language </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </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="0f28f522d2b53c7025ab3d227fd1c1ab"></a><!-- doxytag: member="QextScintillaLexerCSS::lexer" ref="0f28f522d2b53c7025ab3d227fd1c1ab" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* QextScintillaLexerCSS::lexer </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </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="09621fd74b9371c31cfaadc8373c0602"></a><!-- doxytag: member="QextScintillaLexerCSS::color" ref="09621fd74b9371c31cfaadc8373c0602" args="(int style) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TQColor QextScintillaLexerCSS::color </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>style</em> </td>
|
|
<td> ) </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="24017481b708e8c7f272d772e5a1571f"></a><!-- doxytag: member="QextScintillaLexerCSS::font" ref="24017481b708e8c7f272d772e5a1571f" args="(int style) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TQFont QextScintillaLexerCSS::font </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>style</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const<code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns the font for style number <em>style</em>.
|
|
<p>
|
|
|
|
<p>
|
|
Reimplemented from <a class="el" href="classQextScintillaLexer.html#237079987354f031e8982b60a00b14e0">QextScintillaLexer</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="692a86b42d52180ffb1430d96902dac8"></a><!-- doxytag: member="QextScintillaLexerCSS::keywords" ref="692a86b42d52180ffb1430d96902dac8" args="(int set) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char* QextScintillaLexerCSS::keywords </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>set</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> 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>
|
|
Reimplemented from <a class="el" href="classQextScintillaLexer.html#00cc06fe8bce85318fd08890f5f614e4">QextScintillaLexer</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="d766fb0ca5b027f9b5e01922210384ac"></a><!-- doxytag: member="QextScintillaLexerCSS::description" ref="d766fb0ca5b027f9b5e01922210384ac" args="(int style) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">TQString QextScintillaLexerCSS::description </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"> <em>style</em> </td>
|
|
<td> ) </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>
|
|
<a class="anchor" name="2954acc8e9d84e6eac7b59bd5409f962"></a><!-- doxytag: member="QextScintillaLexerCSS::refreshProperties" ref="2954acc8e9d84e6eac7b59bd5409f962" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void QextScintillaLexerCSS::refreshProperties </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Causes all properties to be refreshed by emitting the <a class="el" href="classQextScintillaLexer.html#f320f847889bb054befdb43d0739b5cf">propertyChanged()</a> signal as required.
|
|
<p>
|
|
Reimplemented from <a class="el" href="classQextScintillaLexer.html#8c606f8763ced32f56d4a72d089a50ef">QextScintillaLexer</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="750d95e4905869983a7c984bd05b5148"></a><!-- doxytag: member="QextScintillaLexerCSS::foldComments" ref="750d95e4905869983a7c984bd05b5148" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool QextScintillaLexerCSS::foldComments </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns TRUE if multi-line comment blocks can be folded.<p>
|
|
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classQextScintillaLexerCSS.html#b5125b393e37e0742c9364301738a1c0">setFoldComments()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="5dbd7dcf8cd46e76e0a08dd8be2759a3"></a><!-- doxytag: member="QextScintillaLexerCSS::foldCompact" ref="5dbd7dcf8cd46e76e0a08dd8be2759a3" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool QextScintillaLexerCSS::foldCompact </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"> const</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Returns TRUE if trailing blank lines are included in a fold block.<p>
|
|
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classQextScintillaLexerCSS.html#f818c14fc087298ae165a85b5f13a9dc">setFoldCompact()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="b5125b393e37e0742c9364301738a1c0"></a><!-- doxytag: member="QextScintillaLexerCSS::setFoldComments" ref="b5125b393e37e0742c9364301738a1c0" args="(bool fold)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void QextScintillaLexerCSS::setFoldComments </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>fold</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [virtual, slot]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
If <em>fold</em> is TRUE then multi-line comment blocks can be folded. The default is FALSE.<p>
|
|
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classQextScintillaLexerCSS.html#750d95e4905869983a7c984bd05b5148">foldComments()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="f818c14fc087298ae165a85b5f13a9dc"></a><!-- doxytag: member="QextScintillaLexerCSS::setFoldCompact" ref="f818c14fc087298ae165a85b5f13a9dc" args="(bool fold)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual void QextScintillaLexerCSS::setFoldCompact </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool </td>
|
|
<td class="paramname"> <em>fold</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [virtual, slot]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
If <em>fold</em> is TRUE then trailing blank lines are included in a fold block. The default is TRUE.<p>
|
|
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classQextScintillaLexerCSS.html#5dbd7dcf8cd46e76e0a08dd8be2759a3">foldCompact()</a> </dd></dl>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="2618234cfaaa7bc4d24db9df5e423417"></a><!-- doxytag: member="QextScintillaLexerCSS::readProperties" ref="2618234cfaaa7bc4d24db9df5e423417" args="(TQSettings &qs, const TQString &prefix)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool QextScintillaLexerCSS::readProperties </td>
|
|
<td>(</td>
|
|
<td class="paramtype">TQSettings & </td>
|
|
<td class="paramname"> <em>qs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const TQString & </td>
|
|
<td class="paramname"> <em>prefix</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><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>
|
|
Reimplemented from <a class="el" href="classQextScintillaLexer.html#5c0c72a54932c47687584e2cde90574a">QextScintillaLexer</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="8c61265f2e059f652de67fac9e0c67fd"></a><!-- doxytag: member="QextScintillaLexerCSS::writeProperties" ref="8c61265f2e059f652de67fac9e0c67fd" args="(TQSettings &qs, const TQString &prefix) const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool QextScintillaLexerCSS::writeProperties </td>
|
|
<td>(</td>
|
|
<td class="paramtype">TQSettings & </td>
|
|
<td class="paramname"> <em>qs</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const TQString & </td>
|
|
<td class="paramname"> <em>prefix</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"> 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>
|
|
Reimplemented from <a class="el" href="classQextScintillaLexer.html#69d35dbbba2530a185de901e9fa12a18">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
|
|
<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>
|