20 </style> |
20 </style> |
21 </head> |
21 </head> |
22 <body><a NAME="top" ID="top"></a> |
22 <body><a NAME="top" ID="top"></a> |
23 <h1>eric5.QScintilla.Lexers.Lexer</h1> |
23 <h1>eric5.QScintilla.Lexers.Lexer</h1> |
24 <p> |
24 <p> |
25 Module implementing the lexer base class. |
25 Module implementing the lexer mixin class. |
26 </p> |
26 </p> |
27 <h3>Global Attributes</h3> |
27 <h3>Global Attributes</h3> |
28 <table> |
28 <table> |
29 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
30 </table> |
30 </table> |
90 <td>Public method to check, if a style is a comment style.</td> |
90 <td>Public method to check, if a style is a comment style.</td> |
91 </tr><tr> |
91 </tr><tr> |
92 <td><a href="#Lexer.isStringStyle">isStringStyle</a></td> |
92 <td><a href="#Lexer.isStringStyle">isStringStyle</a></td> |
93 <td>Public method to check, if a style is a string style.</td> |
93 <td>Public method to check, if a style is a string style.</td> |
94 </tr><tr> |
94 </tr><tr> |
|
95 <td><a href="#Lexer.keywords">keywords</a></td> |
|
96 <td>Public method to get the keywords.</td> |
|
97 </tr><tr> |
95 <td><a href="#Lexer.smartIndentLine">smartIndentLine</a></td> |
98 <td><a href="#Lexer.smartIndentLine">smartIndentLine</a></td> |
96 <td>Public method to handle smart indentation for a line.</td> |
99 <td>Public method to handle smart indentation for a line.</td> |
97 </tr><tr> |
100 </tr><tr> |
98 <td><a href="#Lexer.smartIndentSelection">smartIndentSelection</a></td> |
101 <td><a href="#Lexer.smartIndentSelection">smartIndentSelection</a></td> |
99 <td>Public method to handle smart indentation for a selection of lines.</td> |
102 <td>Public method to handle smart indentation for a selection of lines.</td> |
211 </p><dl> |
214 </p><dl> |
212 <dt>Returns:</dt> |
215 <dt>Returns:</dt> |
213 <dd> |
216 <dd> |
214 flag indicating a string style (boolean) |
217 flag indicating a string style (boolean) |
215 </dd> |
218 </dd> |
|
219 </dl><a NAME="Lexer.keywords" ID="Lexer.keywords"></a> |
|
220 <h4>Lexer.keywords</h4> |
|
221 <b>keywords</b>(<i>kwSet</i>) |
|
222 <p> |
|
223 Public method to get the keywords. |
|
224 </p><dl> |
|
225 <dt><i>kwSet</i></dt> |
|
226 <dd> |
|
227 number of the keyword set (integer) |
|
228 </dd> |
216 </dl><a NAME="Lexer.smartIndentLine" ID="Lexer.smartIndentLine"></a> |
229 </dl><a NAME="Lexer.smartIndentLine" ID="Lexer.smartIndentLine"></a> |
217 <h4>Lexer.smartIndentLine</h4> |
230 <h4>Lexer.smartIndentLine</h4> |
218 <b>smartIndentLine</b>(<i>editor</i>) |
231 <b>smartIndentLine</b>(<i>editor</i>) |
219 <p> |
232 <p> |
220 Public method to handle smart indentation for a line. |
233 Public method to handle smart indentation for a line. |