136 <p> |
136 <p> |
137 Constructor |
137 Constructor |
138 </p> |
138 </p> |
139 <dl> |
139 <dl> |
140 |
140 |
141 <dt><i>editor</i></dt> |
141 <dt><i>editor</i> (QScintilla.Editor)</dt> |
142 <dd> |
142 <dd> |
143 reference to the editor object (QScintilla.Editor) |
143 reference to the editor object |
144 </dd> |
144 </dd> |
145 <dt><i>parent</i></dt> |
145 <dt><i>parent</i> (QObject)</dt> |
146 <dd> |
146 <dd> |
147 reference to the parent object (QObject) |
147 reference to the parent object |
148 </dd> |
148 </dd> |
149 </dl> |
149 </dl> |
150 <a NAME="CompleterPython.__dedentDefStatement" ID="CompleterPython.__dedentDefStatement"></a> |
150 <a NAME="CompleterPython.__dedentDefStatement" ID="CompleterPython.__dedentDefStatement"></a> |
151 <h4>CompleterPython.__dedentDefStatement</h4> |
151 <h4>CompleterPython.__dedentDefStatement</h4> |
152 <b>__dedentDefStatement</b>(<i></i>) |
152 <b>__dedentDefStatement</b>(<i></i>) |
194 <p> |
194 <p> |
195 Private method to check, if the cursor is inside a comment. |
195 Private method to check, if the cursor is inside a comment. |
196 </p> |
196 </p> |
197 <dl> |
197 <dl> |
198 |
198 |
199 <dt><i>line</i></dt> |
199 <dt><i>line</i> (int)</dt> |
200 <dd> |
200 <dd> |
201 current line (integer) |
201 current line |
202 </dd> |
202 </dd> |
203 <dt><i>col</i></dt> |
203 <dt><i>col</i> (int)</dt> |
204 <dd> |
204 <dd> |
205 current position within line (integer) |
205 current position within line |
206 </dd> |
206 </dd> |
207 </dl> |
207 </dl> |
208 <dl> |
208 <dl> |
209 <dt>Return:</dt> |
209 <dt>Return:</dt> |
210 <dd> |
210 <dd> |
211 flag indicating, if the cursor is inside a comment (boolean) |
211 flag indicating, if the cursor is inside a comment |
|
212 </dd> |
|
213 </dl> |
|
214 <dl> |
|
215 <dt>Return Type:</dt> |
|
216 <dd> |
|
217 bool |
212 </dd> |
218 </dd> |
213 </dl> |
219 </dl> |
214 <a NAME="CompleterPython.__inDoubleQuotedString" ID="CompleterPython.__inDoubleQuotedString"></a> |
220 <a NAME="CompleterPython.__inDoubleQuotedString" ID="CompleterPython.__inDoubleQuotedString"></a> |
215 <h4>CompleterPython.__inDoubleQuotedString</h4> |
221 <h4>CompleterPython.__inDoubleQuotedString</h4> |
216 <b>__inDoubleQuotedString</b>(<i></i>) |
222 <b>__inDoubleQuotedString</b>(<i></i>) |
221 </p> |
227 </p> |
222 <dl> |
228 <dl> |
223 <dt>Return:</dt> |
229 <dt>Return:</dt> |
224 <dd> |
230 <dd> |
225 flag indicating, if the cursor is inside a double |
231 flag indicating, if the cursor is inside a double |
226 quoted string (boolean) |
232 quoted string |
|
233 </dd> |
|
234 </dl> |
|
235 <dl> |
|
236 <dt>Return Type:</dt> |
|
237 <dd> |
|
238 bool |
227 </dd> |
239 </dd> |
228 </dl> |
240 </dl> |
229 <a NAME="CompleterPython.__inSingleQuotedString" ID="CompleterPython.__inSingleQuotedString"></a> |
241 <a NAME="CompleterPython.__inSingleQuotedString" ID="CompleterPython.__inSingleQuotedString"></a> |
230 <h4>CompleterPython.__inSingleQuotedString</h4> |
242 <h4>CompleterPython.__inSingleQuotedString</h4> |
231 <b>__inSingleQuotedString</b>(<i></i>) |
243 <b>__inSingleQuotedString</b>(<i></i>) |
236 </p> |
248 </p> |
237 <dl> |
249 <dl> |
238 <dt>Return:</dt> |
250 <dt>Return:</dt> |
239 <dd> |
251 <dd> |
240 flag indicating, if the cursor is inside a single |
252 flag indicating, if the cursor is inside a single |
241 quoted string (boolean) |
253 quoted string |
|
254 </dd> |
|
255 </dl> |
|
256 <dl> |
|
257 <dt>Return Type:</dt> |
|
258 <dd> |
|
259 bool |
242 </dd> |
260 </dd> |
243 </dl> |
261 </dl> |
244 <a NAME="CompleterPython.__inTripleDoubleQuotedString" ID="CompleterPython.__inTripleDoubleQuotedString"></a> |
262 <a NAME="CompleterPython.__inTripleDoubleQuotedString" ID="CompleterPython.__inTripleDoubleQuotedString"></a> |
245 <h4>CompleterPython.__inTripleDoubleQuotedString</h4> |
263 <h4>CompleterPython.__inTripleDoubleQuotedString</h4> |
246 <b>__inTripleDoubleQuotedString</b>(<i></i>) |
264 <b>__inTripleDoubleQuotedString</b>(<i></i>) |
251 </p> |
269 </p> |
252 <dl> |
270 <dl> |
253 <dt>Return:</dt> |
271 <dt>Return:</dt> |
254 <dd> |
272 <dd> |
255 flag indicating, if the cursor is inside a triple double |
273 flag indicating, if the cursor is inside a triple double |
256 quoted string (boolean) |
274 quoted string |
|
275 </dd> |
|
276 </dl> |
|
277 <dl> |
|
278 <dt>Return Type:</dt> |
|
279 <dd> |
|
280 bool |
257 </dd> |
281 </dd> |
258 </dl> |
282 </dl> |
259 <a NAME="CompleterPython.__inTripleSingleQuotedString" ID="CompleterPython.__inTripleSingleQuotedString"></a> |
283 <a NAME="CompleterPython.__inTripleSingleQuotedString" ID="CompleterPython.__inTripleSingleQuotedString"></a> |
260 <h4>CompleterPython.__inTripleSingleQuotedString</h4> |
284 <h4>CompleterPython.__inTripleSingleQuotedString</h4> |
261 <b>__inTripleSingleQuotedString</b>(<i></i>) |
285 <b>__inTripleSingleQuotedString</b>(<i></i>) |
266 </p> |
290 </p> |
267 <dl> |
291 <dl> |
268 <dt>Return:</dt> |
292 <dt>Return:</dt> |
269 <dd> |
293 <dd> |
270 flag indicating, if the cursor is inside a triple single |
294 flag indicating, if the cursor is inside a triple single |
271 quoted string (boolean) |
295 quoted string |
|
296 </dd> |
|
297 </dl> |
|
298 <dl> |
|
299 <dt>Return Type:</dt> |
|
300 <dd> |
|
301 bool |
272 </dd> |
302 </dd> |
273 </dl> |
303 </dl> |
274 <a NAME="CompleterPython.__isClassMethod" ID="CompleterPython.__isClassMethod"></a> |
304 <a NAME="CompleterPython.__isClassMethod" ID="CompleterPython.__isClassMethod"></a> |
275 <h4>CompleterPython.__isClassMethod</h4> |
305 <h4>CompleterPython.__isClassMethod</h4> |
276 <b>__isClassMethod</b>(<i></i>) |
306 <b>__isClassMethod</b>(<i></i>) |
279 Private method to check, if the user is defining a class method. |
309 Private method to check, if the user is defining a class method. |
280 </p> |
310 </p> |
281 <dl> |
311 <dl> |
282 <dt>Return:</dt> |
312 <dt>Return:</dt> |
283 <dd> |
313 <dd> |
284 flag indicating the definition of a class method (boolean) |
314 flag indicating the definition of a class method |
|
315 </dd> |
|
316 </dl> |
|
317 <dl> |
|
318 <dt>Return Type:</dt> |
|
319 <dd> |
|
320 bool |
285 </dd> |
321 </dd> |
286 </dl> |
322 </dl> |
287 <a NAME="CompleterPython.__isClassMethodDef" ID="CompleterPython.__isClassMethodDef"></a> |
323 <a NAME="CompleterPython.__isClassMethodDef" ID="CompleterPython.__isClassMethodDef"></a> |
288 <h4>CompleterPython.__isClassMethodDef</h4> |
324 <h4>CompleterPython.__isClassMethodDef</h4> |
289 <b>__isClassMethodDef</b>(<i></i>) |
325 <b>__isClassMethodDef</b>(<i></i>) |
293 (@classmethod). |
329 (@classmethod). |
294 </p> |
330 </p> |
295 <dl> |
331 <dl> |
296 <dt>Return:</dt> |
332 <dt>Return:</dt> |
297 <dd> |
333 <dd> |
298 flag indicating the definition of a class method (boolean) |
334 flag indicating the definition of a class method |
|
335 </dd> |
|
336 </dl> |
|
337 <dl> |
|
338 <dt>Return Type:</dt> |
|
339 <dd> |
|
340 bool |
299 </dd> |
341 </dd> |
300 </dl> |
342 </dl> |
301 <a NAME="CompleterPython.__isStaticMethodDef" ID="CompleterPython.__isStaticMethodDef"></a> |
343 <a NAME="CompleterPython.__isStaticMethodDef" ID="CompleterPython.__isStaticMethodDef"></a> |
302 <h4>CompleterPython.__isStaticMethodDef</h4> |
344 <h4>CompleterPython.__isStaticMethodDef</h4> |
303 <b>__isStaticMethodDef</b>(<i></i>) |
345 <b>__isStaticMethodDef</b>(<i></i>) |
307 (@staticmethod) method. |
349 (@staticmethod) method. |
308 </p> |
350 </p> |
309 <dl> |
351 <dl> |
310 <dt>Return:</dt> |
352 <dt>Return:</dt> |
311 <dd> |
353 <dd> |
312 flag indicating the definition of a static method (boolean) |
354 flag indicating the definition of a static method |
|
355 </dd> |
|
356 </dl> |
|
357 <dl> |
|
358 <dt>Return Type:</dt> |
|
359 <dd> |
|
360 bool |
313 </dd> |
361 </dd> |
314 </dl> |
362 </dl> |
315 <a NAME="CompleterPython.charAdded" ID="CompleterPython.charAdded"></a> |
363 <a NAME="CompleterPython.charAdded" ID="CompleterPython.charAdded"></a> |
316 <h4>CompleterPython.charAdded</h4> |
364 <h4>CompleterPython.charAdded</h4> |
317 <b>charAdded</b>(<i>charNumber</i>) |
365 <b>charAdded</b>(<i>charNumber</i>) |
319 <p> |
367 <p> |
320 Public slot called to handle the user entering a character. |
368 Public slot called to handle the user entering a character. |
321 </p> |
369 </p> |
322 <dl> |
370 <dl> |
323 |
371 |
324 <dt><i>charNumber</i></dt> |
372 <dt><i>charNumber</i> (int)</dt> |
325 <dd> |
373 <dd> |
326 value of the character entered (integer) |
374 value of the character entered |
327 </dd> |
375 </dd> |
328 </dl> |
376 </dl> |
329 <a NAME="CompleterPython.readSettings" ID="CompleterPython.readSettings"></a> |
377 <a NAME="CompleterPython.readSettings" ID="CompleterPython.readSettings"></a> |
330 <h4>CompleterPython.readSettings</h4> |
378 <h4>CompleterPython.readSettings</h4> |
331 <b>readSettings</b>(<i></i>) |
379 <b>readSettings</b>(<i></i>) |