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

changeset 6876
af2ae79e03b3
parent 6866
b792455b35cd
equal deleted inserted replaced
6875:b40b6e5a2f23 6876:af2ae79e03b3
79 <td>Public method to determine, whether the lexer language supports a stream comment.</td> 79 <td>Public method to determine, whether the lexer language supports a stream comment.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#Lexer.commentStr">commentStr</a></td> 81 <td><a href="#Lexer.commentStr">commentStr</a></td>
82 <td>Public method to return the comment string.</td> 82 <td>Public method to return the comment string.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#Lexer.defaultKeywords">defaultKeywords</a></td>
85 <td>Public method to get the default keywords.</td>
86 </tr><tr>
84 <td><a href="#Lexer.hasSmartIndent">hasSmartIndent</a></td> 87 <td><a href="#Lexer.hasSmartIndent">hasSmartIndent</a></td>
85 <td>Public method indicating whether lexer can do smart indentation.</td> 88 <td>Public method indicating whether lexer can do smart indentation.</td>
86 </tr><tr> 89 </tr><tr>
87 <td><a href="#Lexer.hasSubstyles">hasSubstyles</a></td> 90 <td><a href="#Lexer.hasSubstyles">hasSubstyles</a></td>
88 <td>Public method to indicate the support of sub-styles.</td> 91 <td>Public method to indicate the support of sub-styles.</td>
96 <td><a href="#Lexer.isStringStyle">isStringStyle</a></td> 99 <td><a href="#Lexer.isStringStyle">isStringStyle</a></td>
97 <td>Public method to check, if a style is a string style.</td> 100 <td>Public method to check, if a style is a string style.</td>
98 </tr><tr> 101 </tr><tr>
99 <td><a href="#Lexer.keywords">keywords</a></td> 102 <td><a href="#Lexer.keywords">keywords</a></td>
100 <td>Public method to get the keywords.</td> 103 <td>Public method to get the keywords.</td>
104 </tr><tr>
105 <td><a href="#Lexer.keywordsDescription">keywordsDescription</a></td>
106 <td>Public method to get the description for a keywords set.</td>
101 </tr><tr> 107 </tr><tr>
102 <td><a href="#Lexer.lexerName">lexerName</a></td> 108 <td><a href="#Lexer.lexerName">lexerName</a></td>
103 <td>Public method to return the lexer name.</td> 109 <td>Public method to return the lexer name.</td>
104 </tr><tr> 110 </tr><tr>
105 <td><a href="#Lexer.maximumKeywordSet">maximumKeywordSet</a></td> 111 <td><a href="#Lexer.maximumKeywordSet">maximumKeywordSet</a></td>
195 </p><dl> 201 </p><dl>
196 <dt>Returns:</dt> 202 <dt>Returns:</dt>
197 <dd> 203 <dd>
198 comment string (string) 204 comment string (string)
199 </dd> 205 </dd>
206 </dl><a NAME="Lexer.defaultKeywords" ID="Lexer.defaultKeywords"></a>
207 <h4>Lexer.defaultKeywords</h4>
208 <b>defaultKeywords</b>(<i>kwSet</i>)
209 <p>
210 Public method to get the default keywords.
211 </p><dl>
212 <dt><i>kwSet</i> (int)</dt>
213 <dd>
214 number of the keyword set
215 </dd>
216 </dl><dl>
217 <dt>Returns:</dt>
218 <dd>
219 space separated list of keywords
220 </dd>
221 </dl><dl>
222 <dt>Return Type:</dt>
223 <dd>
224 str or None
225 </dd>
200 </dl><a NAME="Lexer.hasSmartIndent" ID="Lexer.hasSmartIndent"></a> 226 </dl><a NAME="Lexer.hasSmartIndent" ID="Lexer.hasSmartIndent"></a>
201 <h4>Lexer.hasSmartIndent</h4> 227 <h4>Lexer.hasSmartIndent</h4>
202 <b>hasSmartIndent</b>(<i></i>) 228 <b>hasSmartIndent</b>(<i></i>)
203 <p> 229 <p>
204 Public method indicating whether lexer can do smart indentation. 230 Public method indicating whether lexer can do smart indentation.
262 <h4>Lexer.keywords</h4> 288 <h4>Lexer.keywords</h4>
263 <b>keywords</b>(<i>kwSet</i>) 289 <b>keywords</b>(<i>kwSet</i>)
264 <p> 290 <p>
265 Public method to get the keywords. 291 Public method to get the keywords.
266 </p><dl> 292 </p><dl>
267 <dt><i>kwSet</i></dt> 293 <dt><i>kwSet</i> (int)</dt>
268 <dd> 294 <dd>
269 number of the keyword set (integer) 295 number of the keyword set
270 </dd> 296 </dd>
271 </dl><dl> 297 </dl><dl>
272 <dt>Returns:</dt> 298 <dt>Returns:</dt>
273 <dd> 299 <dd>
274 string giving the keywords (string) or None 300 space separated list of keywords
301 </dd>
302 </dl><dl>
303 <dt>Return Type:</dt>
304 <dd>
305 str or None
306 </dd>
307 </dl><a NAME="Lexer.keywordsDescription" ID="Lexer.keywordsDescription"></a>
308 <h4>Lexer.keywordsDescription</h4>
309 <b>keywordsDescription</b>(<i>kwSet</i>)
310 <p>
311 Public method to get the description for a keywords set.
312 </p><dl>
313 <dt><i>kwSet</i> (int)</dt>
314 <dd>
315 number of the keyword set
316 </dd>
317 </dl><dl>
318 <dt>Returns:</dt>
319 <dd>
320 description of the keyword set
321 </dd>
322 </dl><dl>
323 <dt>Return Type:</dt>
324 <dd>
325 str
275 </dd> 326 </dd>
276 </dl><a NAME="Lexer.lexerName" ID="Lexer.lexerName"></a> 327 </dl><a NAME="Lexer.lexerName" ID="Lexer.lexerName"></a>
277 <h4>Lexer.lexerName</h4> 328 <h4>Lexer.lexerName</h4>
278 <b>lexerName</b>(<i></i>) 329 <b>lexerName</b>(<i></i>)
279 <p> 330 <p>
291 </p><p> 342 </p><p>
292 Note: A return value of 0 indicates to determine this dynamically. 343 Note: A return value of 0 indicates to determine this dynamically.
293 </p><dl> 344 </p><dl>
294 <dt>Returns:</dt> 345 <dt>Returns:</dt>
295 <dd> 346 <dd>
296 maximum keyword set (integer) 347 maximum keyword set
348 </dd>
349 </dl><dl>
350 <dt>Return Type:</dt>
351 <dd>
352 int
297 </dd> 353 </dd>
298 </dl><a NAME="Lexer.smartIndentLine" ID="Lexer.smartIndentLine"></a> 354 </dl><a NAME="Lexer.smartIndentLine" ID="Lexer.smartIndentLine"></a>
299 <h4>Lexer.smartIndentLine</h4> 355 <h4>Lexer.smartIndentLine</h4>
300 <b>smartIndentLine</b>(<i>editor</i>) 356 <b>smartIndentLine</b>(<i>editor</i>)
301 <p> 357 <p>

eric ide

mercurial