eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerHTML.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.QScintilla.Lexers.LexerHTML</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.QScintilla.Lexers.LexerHTML</h1>
24
25 <p>
26 Module implementing a HTML lexer with some additional methods.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#LexerHTML">LexerHTML</a></td>
39 <td>Subclass to implement some additional lexer dependant methods.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="LexerHTML" ID="LexerHTML"></a>
50 <h2>LexerHTML</h2>
51
52 <p>
53 Subclass to implement some additional lexer dependant methods.
54 </p>
55 <h3>Derived from</h3>
56 Lexer, QsciLexerHTML
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#LexerHTML.__init__">LexerHTML</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#LexerHTML.defaultKeywords">defaultKeywords</a></td>
77 <td>Public method to get the default keywords.</td>
78 </tr>
79 <tr>
80 <td><a href="#LexerHTML.initProperties">initProperties</a></td>
81 <td>Public slot to initialize the properties.</td>
82 </tr>
83 <tr>
84 <td><a href="#LexerHTML.isCommentStyle">isCommentStyle</a></td>
85 <td>Public method to check, if a style is a comment style.</td>
86 </tr>
87 <tr>
88 <td><a href="#LexerHTML.isStringStyle">isStringStyle</a></td>
89 <td>Public method to check, if a style is a string style.</td>
90 </tr>
91 </table>
92 <h3>Static Methods</h3>
93
94 <table>
95 <tr><td>None</td></tr>
96 </table>
97
98 <a NAME="LexerHTML.__init__" ID="LexerHTML.__init__"></a>
99 <h4>LexerHTML (Constructor)</h4>
100 <b>LexerHTML</b>(<i>parent=None</i>)
101
102 <p>
103 Constructor
104 </p>
105 <dl>
106
107 <dt><i>parent</i></dt>
108 <dd>
109 parent widget of this lexer
110 </dd>
111 </dl>
112 <a NAME="LexerHTML.defaultKeywords" ID="LexerHTML.defaultKeywords"></a>
113 <h4>LexerHTML.defaultKeywords</h4>
114 <b>defaultKeywords</b>(<i>kwSet</i>)
115
116 <p>
117 Public method to get the default keywords.
118 </p>
119 <dl>
120
121 <dt><i>kwSet</i></dt>
122 <dd>
123 number of the keyword set (integer)
124 </dd>
125 </dl>
126 <dl>
127 <dt>Return:</dt>
128 <dd>
129 string giving the keywords (string) or None
130 </dd>
131 </dl>
132 <a NAME="LexerHTML.initProperties" ID="LexerHTML.initProperties"></a>
133 <h4>LexerHTML.initProperties</h4>
134 <b>initProperties</b>(<i></i>)
135
136 <p>
137 Public slot to initialize the properties.
138 </p>
139 <a NAME="LexerHTML.isCommentStyle" ID="LexerHTML.isCommentStyle"></a>
140 <h4>LexerHTML.isCommentStyle</h4>
141 <b>isCommentStyle</b>(<i>style</i>)
142
143 <p>
144 Public method to check, if a style is a comment style.
145 </p>
146 <dl>
147
148 <dt><i>style</i></dt>
149 <dd>
150 style to check (integer)
151 </dd>
152 </dl>
153 <dl>
154 <dt>Return:</dt>
155 <dd>
156 flag indicating a comment style (boolean)
157 </dd>
158 </dl>
159 <a NAME="LexerHTML.isStringStyle" ID="LexerHTML.isStringStyle"></a>
160 <h4>LexerHTML.isStringStyle</h4>
161 <b>isStringStyle</b>(<i>style</i>)
162
163 <p>
164 Public method to check, if a style is a string style.
165 </p>
166 <dl>
167
168 <dt><i>style</i></dt>
169 <dd>
170 style to check (integer)
171 </dd>
172 </dl>
173 <dl>
174 <dt>Return:</dt>
175 <dd>
176 flag indicating a string style (boolean)
177 </dd>
178 </dl>
179 <div align="right"><a href="#top">Up</a></div>
180 <hr />
181 </body></html>

eric ide

mercurial