src/eric7/Documentation/Source/eric7.QScintilla.Lexers.LexerPython.html

branch
eric7
changeset 10431
64157aeb0312
parent 9503
ae9232bf4854
child 10479
856476537696
equal deleted inserted replaced
10430:e440aaf179ce 10431:64157aeb0312
124 Public method to return the list of separators for autocompletion. 124 Public method to return the list of separators for autocompletion.
125 </p> 125 </p>
126 <dl> 126 <dl>
127 <dt>Return:</dt> 127 <dt>Return:</dt>
128 <dd> 128 <dd>
129 list of separators (list of strings) 129 list of separators
130 </dd>
131 </dl>
132 <dl>
133 <dt>Return Type:</dt>
134 <dd>
135 list of str
130 </dd> 136 </dd>
131 </dl> 137 </dl>
132 <a NAME="LexerPython.defaultKeywords" ID="LexerPython.defaultKeywords"></a> 138 <a NAME="LexerPython.defaultKeywords" ID="LexerPython.defaultKeywords"></a>
133 <h4>LexerPython.defaultKeywords</h4> 139 <h4>LexerPython.defaultKeywords</h4>
134 <b>defaultKeywords</b>(<i>kwSet</i>) 140 <b>defaultKeywords</b>(<i>kwSet</i>)
136 <p> 142 <p>
137 Public method to get the default keywords. 143 Public method to get the default keywords.
138 </p> 144 </p>
139 <dl> 145 <dl>
140 146
141 <dt><i>kwSet</i></dt> 147 <dt><i>kwSet</i> (int)</dt>
142 <dd> 148 <dd>
143 number of the keyword set (integer) 149 number of the keyword set
144 </dd> 150 </dd>
145 </dl> 151 </dl>
146 <dl> 152 <dl>
147 <dt>Return:</dt> 153 <dt>Return:</dt>
148 <dd> 154 <dd>
149 string giving the keywords (string) or None 155 string giving the keywords or None
156 </dd>
157 </dl>
158 <dl>
159 <dt>Return Type:</dt>
160 <dd>
161 str
150 </dd> 162 </dd>
151 </dl> 163 </dl>
152 <a NAME="LexerPython.getIndentationDifference" ID="LexerPython.getIndentationDifference"></a> 164 <a NAME="LexerPython.getIndentationDifference" ID="LexerPython.getIndentationDifference"></a>
153 <h4>LexerPython.getIndentationDifference</h4> 165 <h4>LexerPython.getIndentationDifference</h4>
154 <b>getIndentationDifference</b>(<i>line, editor</i>) 166 <b>getIndentationDifference</b>(<i>line, editor</i>)
156 <p> 168 <p>
157 Public method to determine the difference for the new indentation. 169 Public method to determine the difference for the new indentation.
158 </p> 170 </p>
159 <dl> 171 <dl>
160 172
161 <dt><i>line</i></dt> 173 <dt><i>line</i> (int)</dt>
162 <dd> 174 <dd>
163 line to perform the calculation for (integer) 175 line to perform the calculation for
164 </dd> 176 </dd>
165 <dt><i>editor</i></dt> 177 <dt><i>editor</i> (Editor)</dt>
166 <dd> 178 <dd>
167 QScintilla editor 179 QScintilla editor
168 </dd> 180 </dd>
169 </dl> 181 </dl>
170 <dl> 182 <dl>
171 <dt>Return:</dt> 183 <dt>Return:</dt>
172 <dd> 184 <dd>
173 amount of difference in indentation (integer) 185 amount of difference in indentation
186 </dd>
187 </dl>
188 <dl>
189 <dt>Return Type:</dt>
190 <dd>
191 int
174 </dd> 192 </dd>
175 </dl> 193 </dl>
176 <a NAME="LexerPython.initProperties" ID="LexerPython.initProperties"></a> 194 <a NAME="LexerPython.initProperties" ID="LexerPython.initProperties"></a>
177 <h4>LexerPython.initProperties</h4> 195 <h4>LexerPython.initProperties</h4>
178 <b>initProperties</b>(<i></i>) 196 <b>initProperties</b>(<i></i>)
187 <p> 205 <p>
188 Public method to check, if a style is a comment style. 206 Public method to check, if a style is a comment style.
189 </p> 207 </p>
190 <dl> 208 <dl>
191 209
192 <dt><i>style</i></dt> 210 <dt><i>style</i> (int)</dt>
193 <dd> 211 <dd>
194 style to check (integer) 212 style to check
195 </dd> 213 </dd>
196 </dl> 214 </dl>
197 <dl> 215 <dl>
198 <dt>Return:</dt> 216 <dt>Return:</dt>
199 <dd> 217 <dd>
200 flag indicating a comment style (boolean) 218 flag indicating a comment style
219 </dd>
220 </dl>
221 <dl>
222 <dt>Return Type:</dt>
223 <dd>
224 bool
201 </dd> 225 </dd>
202 </dl> 226 </dl>
203 <a NAME="LexerPython.isStringStyle" ID="LexerPython.isStringStyle"></a> 227 <a NAME="LexerPython.isStringStyle" ID="LexerPython.isStringStyle"></a>
204 <h4>LexerPython.isStringStyle</h4> 228 <h4>LexerPython.isStringStyle</h4>
205 <b>isStringStyle</b>(<i>style</i>) 229 <b>isStringStyle</b>(<i>style</i>)
207 <p> 231 <p>
208 Public method to check, if a style is a string style. 232 Public method to check, if a style is a string style.
209 </p> 233 </p>
210 <dl> 234 <dl>
211 235
212 <dt><i>style</i></dt> 236 <dt><i>style</i> (int)</dt>
213 <dd> 237 <dd>
214 style to check (integer) 238 style to check
215 </dd> 239 </dd>
216 </dl> 240 </dl>
217 <dl> 241 <dl>
218 <dt>Return:</dt> 242 <dt>Return:</dt>
219 <dd> 243 <dd>
220 flag indicating a string style (boolean) 244 flag indicating a string style
245 </dd>
246 </dl>
247 <dl>
248 <dt>Return Type:</dt>
249 <dd>
250 bool
221 </dd> 251 </dd>
222 </dl> 252 </dl>
223 <a NAME="LexerPython.language" ID="LexerPython.language"></a> 253 <a NAME="LexerPython.language" ID="LexerPython.language"></a>
224 <h4>LexerPython.language</h4> 254 <h4>LexerPython.language</h4>
225 <b>language</b>(<i></i>) 255 <b>language</b>(<i></i>)
228 Public method to get the lexer language. 258 Public method to get the lexer language.
229 </p> 259 </p>
230 <dl> 260 <dl>
231 <dt>Return:</dt> 261 <dt>Return:</dt>
232 <dd> 262 <dd>
233 lexer language (string) 263 lexer language
264 </dd>
265 </dl>
266 <dl>
267 <dt>Return Type:</dt>
268 <dd>
269 str
234 </dd> 270 </dd>
235 </dl> 271 </dl>
236 <a NAME="LexerPython.maximumKeywordSet" ID="LexerPython.maximumKeywordSet"></a> 272 <a NAME="LexerPython.maximumKeywordSet" ID="LexerPython.maximumKeywordSet"></a>
237 <h4>LexerPython.maximumKeywordSet</h4> 273 <h4>LexerPython.maximumKeywordSet</h4>
238 <b>maximumKeywordSet</b>(<i></i>) 274 <b>maximumKeywordSet</b>(<i></i>)
241 Public method to get the maximum keyword set. 277 Public method to get the maximum keyword set.
242 </p> 278 </p>
243 <dl> 279 <dl>
244 <dt>Return:</dt> 280 <dt>Return:</dt>
245 <dd> 281 <dd>
246 maximum keyword set (integer) 282 maximum keyword set
283 </dd>
284 </dl>
285 <dl>
286 <dt>Return Type:</dt>
287 <dd>
288 int
247 </dd> 289 </dd>
248 </dl> 290 </dl>
249 <div align="right"><a href="#top">Up</a></div> 291 <div align="right"><a href="#top">Up</a></div>
250 <hr /> 292 <hr />
251 <hr /> 293 <hr />

eric ide

mercurial