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

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

eric ide

mercurial