74 <td>Public slot to reload the api information.</td> |
74 <td>Public slot to reload the api information.</td> |
75 </tr> |
75 </tr> |
76 </table> |
76 </table> |
77 <a NAME="APIsManager.__init__" ID="APIsManager.__init__"></a> |
77 <a NAME="APIsManager.__init__" ID="APIsManager.__init__"></a> |
78 <h4>APIsManager (Constructor)</h4> |
78 <h4>APIsManager (Constructor)</h4> |
79 <b>APIsManager</b>(<i>newStyle, parent = None</i>) |
79 <b>APIsManager</b>(<i>parent=None</i>) |
80 <p> |
80 <p> |
81 Constructor |
81 Constructor |
82 </p><dl> |
82 </p><dl> |
83 <dt><i>newStyle</i></dt> |
83 <dt><i>parent</i></dt> |
84 <dd> |
|
85 flag indicating usage of new style signals (bool) |
|
86 </dd><dt><i>parent</i></dt> |
|
87 <dd> |
84 <dd> |
88 reference to the parent object (QObject) |
85 reference to the parent object (QObject) |
89 </dd> |
86 </dd> |
90 </dl><a NAME="APIsManager.deactivate" ID="APIsManager.deactivate"></a> |
87 </dl><a NAME="APIsManager.deactivate" ID="APIsManager.deactivate"></a> |
91 <h4>APIsManager.deactivate</h4> |
88 <h4>APIsManager.deactivate</h4> |
96 <h4>APIsManager.getAPIs</h4> |
93 <h4>APIsManager.getAPIs</h4> |
97 <b>getAPIs</b>(<i>language</i>) |
94 <b>getAPIs</b>(<i>language</i>) |
98 <p> |
95 <p> |
99 Public method to get an apis object for autocompletion/calltips. |
96 Public method to get an apis object for autocompletion/calltips. |
100 </p><p> |
97 </p><p> |
101 This method creates and loads an APIs object dynamically upon request. |
98 This method creates and loads an APIs object dynamically upon request. |
102 This saves memory for languages, that might not be needed at the moment. |
99 This saves memory for languages, that might not be needed at the moment. |
103 </p><dl> |
100 </p><dl> |
104 <dt><i>language</i></dt> |
101 <dt><i>language</i></dt> |
105 <dd> |
102 <dd> |
106 the language of the requested api object (string) |
103 the language of the requested api object (string) |
209 <td>Public method to prepare the APIs if neccessary.</td> |
206 <td>Public method to prepare the APIs if neccessary.</td> |
210 </tr> |
207 </tr> |
211 </table> |
208 </table> |
212 <a NAME="DbAPIs.__init__" ID="DbAPIs.__init__"></a> |
209 <a NAME="DbAPIs.__init__" ID="DbAPIs.__init__"></a> |
213 <h4>DbAPIs (Constructor)</h4> |
210 <h4>DbAPIs (Constructor)</h4> |
214 <b>DbAPIs</b>(<i>language, newStyle, parent = None</i>) |
211 <b>DbAPIs</b>(<i>language, parent=None</i>) |
215 <p> |
212 <p> |
216 Constructor |
213 Constructor |
217 </p><dl> |
214 </p><dl> |
218 <dt><i>language</i></dt> |
215 <dt><i>language</i></dt> |
219 <dd> |
216 <dd> |
220 language of the APIs object (string) |
217 language of the APIs object (string) |
221 </dd><dt><i>newStyle</i></dt> |
|
222 <dd> |
|
223 flag indicating usage of new style signals (bool) |
|
224 </dd><dt><i>parent</i></dt> |
218 </dd><dt><i>parent</i></dt> |
225 <dd> |
219 <dd> |
226 reference to the parent object (QObject) |
220 reference to the parent object (QObject) |
227 </dd> |
221 </dd> |
228 </dl><a NAME="DbAPIs.__createApiDB" ID="DbAPIs.__createApiDB"></a> |
222 </dl><a NAME="DbAPIs.__createApiDB" ID="DbAPIs.__createApiDB"></a> |
353 <dd> |
347 <dd> |
354 list of API filenames (list of strings) |
348 list of API filenames (list of strings) |
355 </dd> |
349 </dd> |
356 </dl><a NAME="DbAPIs.getCalltips" ID="DbAPIs.getCalltips"></a> |
350 </dl><a NAME="DbAPIs.getCalltips" ID="DbAPIs.getCalltips"></a> |
357 <h4>DbAPIs.getCalltips</h4> |
351 <h4>DbAPIs.getCalltips</h4> |
358 <b>getCalltips</b>(<i>acWord, commas, context = None, fullContext = None, showContext = True</i>) |
352 <b>getCalltips</b>(<i>acWord, commas, context=None, fullContext=None, showContext=True</i>) |
359 <p> |
353 <p> |
360 Public method to determine the calltips. |
354 Public method to determine the calltips. |
361 </p><dl> |
355 </p><dl> |
362 <dt><i>acWord</i></dt> |
356 <dt><i>acWord</i></dt> |
363 <dd> |
357 <dd> |
380 <dd> |
374 <dd> |
381 list of calltips (list of string) |
375 list of calltips (list of string) |
382 </dd> |
376 </dd> |
383 </dl><a NAME="DbAPIs.getCompletions" ID="DbAPIs.getCompletions"></a> |
377 </dl><a NAME="DbAPIs.getCompletions" ID="DbAPIs.getCompletions"></a> |
384 <h4>DbAPIs.getCompletions</h4> |
378 <h4>DbAPIs.getCompletions</h4> |
385 <b>getCompletions</b>(<i>start = None, context = None</i>) |
379 <b>getCompletions</b>(<i>start=None, context=None</i>) |
386 <p> |
380 <p> |
387 Public method to determine the possible completions. |
381 Public method to determine the possible completions. |
388 </p><dl> |
382 </p><dl> |
389 <dt><i>start=</i></dt> |
383 <dt><i>start=</i></dt> |
390 <dd> |
384 <dd> |
413 <dd> |
407 <dd> |
414 reference to the lexer object (QScintilla.Lexers.Lexer) |
408 reference to the lexer object (QScintilla.Lexers.Lexer) |
415 </dd> |
409 </dd> |
416 </dl><a NAME="DbAPIs.prepareAPIs" ID="DbAPIs.prepareAPIs"></a> |
410 </dl><a NAME="DbAPIs.prepareAPIs" ID="DbAPIs.prepareAPIs"></a> |
417 <h4>DbAPIs.prepareAPIs</h4> |
411 <h4>DbAPIs.prepareAPIs</h4> |
418 <b>prepareAPIs</b>(<i>rawList = None</i>) |
412 <b>prepareAPIs</b>(<i>rawList=None</i>) |
419 <p> |
413 <p> |
420 Public method to prepare the APIs if neccessary. |
414 Public method to prepare the APIs if neccessary. |
421 </p><dl> |
415 </p><dl> |
422 <dt><i>rawList=</i></dt> |
416 <dt><i>rawList=</i></dt> |
423 <dd> |
417 <dd> |
465 <td>Public method to perform the threads work.</td> |
459 <td>Public method to perform the threads work.</td> |
466 </tr> |
460 </tr> |
467 </table> |
461 </table> |
468 <a NAME="DbAPIsWorker.__init__" ID="DbAPIsWorker.__init__"></a> |
462 <a NAME="DbAPIsWorker.__init__" ID="DbAPIsWorker.__init__"></a> |
469 <h4>DbAPIsWorker (Constructor)</h4> |
463 <h4>DbAPIsWorker (Constructor)</h4> |
470 <b>DbAPIsWorker</b>(<i>proxy, language, apiFiles, projectPath = "", refresh = False</i>) |
464 <b>DbAPIsWorker</b>(<i>proxy, language, apiFiles, projectPath="", refresh=False</i>) |
471 <p> |
465 <p> |
472 Constructor |
466 Constructor |
473 </p><dl> |
467 </p><dl> |
474 <dt><i>proxy</i></dt> |
468 <dt><i>proxy</i></dt> |
475 <dd> |
469 <dd> |