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