AssistantEric/Documentation/source/Plugin_Assistant_Eric.AssistantEric.Assistant.html

changeset 131
7d868e8e1cfb
parent 119
263a95431e41
child 136
5cfe53b474a9
equal deleted inserted replaced
130:08c7aece376c 131:7d868e8e1cfb
83 <td>Private method to determine calltips from the document.</td> 83 <td>Private method to determine calltips from the document.</td>
84 </tr><tr> 84 </tr><tr>
85 <td><a href="#Assistant.__getDocumentCompletions">__getDocumentCompletions</a></td> 85 <td><a href="#Assistant.__getDocumentCompletions">__getDocumentCompletions</a></td>
86 <td>Private method to determine autocompletion proposals from the document.</td> 86 <td>Private method to determine autocompletion proposals from the document.</td>
87 </tr><tr> 87 </tr><tr>
88 <td><a href="#Assistant.__getProjectType">__getProjectType</a></td>
89 <td>Private method to determine the project type to be used.</td>
90 </tr><tr>
88 <td><a href="#Assistant.__preferencesChanged">__preferencesChanged</a></td> 91 <td><a href="#Assistant.__preferencesChanged">__preferencesChanged</a></td>
89 <td>Private method to handle a change of the global configuration.</td> 92 <td>Private method to handle a change of the global configuration.</td>
90 </tr><tr> 93 </tr><tr>
91 <td><a href="#Assistant.__recordSelectedContext">__recordSelectedContext</a></td> 94 <td><a href="#Assistant.__recordSelectedContext">__recordSelectedContext</a></td>
92 <td>Private slot to handle the selection from the completion list to record the selected completion context.</td> 95 <td>Private slot to handle the selection from the completion list to record the selected completion context.</td>
236 <dd> 239 <dd>
237 list of possible completions (list of strings) 240 list of possible completions (list of strings)
238 </dd> 241 </dd>
239 </dl><a NAME="Assistant.__getCompletions" ID="Assistant.__getCompletions"></a> 242 </dl><a NAME="Assistant.__getCompletions" ID="Assistant.__getCompletions"></a>
240 <h4>Assistant.__getCompletions</h4> 243 <h4>Assistant.__getCompletions</h4>
241 <b>__getCompletions</b>(<i>word, context, prefix, language, module, editor, importCompletion, sep</i>) 244 <b>__getCompletions</b>(<i>word, context, prefix, language, projectType, module, editor, importCompletion, documentOnly, sep</i>)
242 <p> 245 <p>
243 Private method to get the list of possible completions. 246 Private method to get the list of possible completions.
244 </p><dl> 247 </p><dl>
245 <dt><i>word</i></dt> 248 <dt><i>word</i></dt>
246 <dd> 249 <dd>
252 <dd> 255 <dd>
253 prefix of the word to be completed (string) 256 prefix of the word to be completed (string)
254 </dd><dt><i>language</i></dt> 257 </dd><dt><i>language</i></dt>
255 <dd> 258 <dd>
256 programming language of the source (string) 259 programming language of the source (string)
260 </dd><dt><i>projectType</i></dt>
261 <dd>
262 type of the project (string)
257 </dd><dt><i>module</i></dt> 263 </dd><dt><i>module</i></dt>
258 <dd> 264 <dd>
259 reference to the scanned module info (Module) 265 reference to the scanned module info (Module)
260 </dd><dt><i>editor</i></dt> 266 </dd><dt><i>editor</i></dt>
261 <dd> 267 <dd>
262 reference to the editor object (QScintilla.Editor.Editor) 268 reference to the editor object (QScintilla.Editor.Editor)
263 </dd><dt><i>importCompletion</i></dt> 269 </dd><dt><i>importCompletion</i></dt>
264 <dd> 270 <dd>
265 flag indicating an import completion (boolean) 271 flag indicating an import completion (boolean)
272 </dd><dt><i>documentOnly</i></dt>
273 <dd>
274 flag indicating to complete from the document only
275 (boolean)
266 </dd><dt><i>sep</i></dt> 276 </dd><dt><i>sep</i></dt>
267 <dd> 277 <dd>
268 separator string (string) 278 separator string (string)
269 </dd> 279 </dd>
270 </dl><dl> 280 </dl><dl>
329 </dd> 339 </dd>
330 </dl><dl> 340 </dl><dl>
331 <dt>Returns:</dt> 341 <dt>Returns:</dt>
332 <dd> 342 <dd>
333 list of possible completions (list of strings) 343 list of possible completions (list of strings)
344 </dd>
345 </dl><a NAME="Assistant.__getProjectType" ID="Assistant.__getProjectType"></a>
346 <h4>Assistant.__getProjectType</h4>
347 <b>__getProjectType</b>(<i>editor</i>)
348 <p>
349 Private method to determine the project type to be used.
350 </p><dl>
351 <dt><i>editor</i> (Editor)</dt>
352 <dd>
353 reference to the editor to check
354 </dd>
355 </dl><dl>
356 <dt>Returns:</dt>
357 <dd>
358 project type
359 </dd>
360 </dl><dl>
361 <dt>Return Type:</dt>
362 <dd>
363 str
334 </dd> 364 </dd>
335 </dl><a NAME="Assistant.__preferencesChanged" ID="Assistant.__preferencesChanged"></a> 365 </dl><a NAME="Assistant.__preferencesChanged" ID="Assistant.__preferencesChanged"></a>
336 <h4>Assistant.__preferencesChanged</h4> 366 <h4>Assistant.__preferencesChanged</h4>
337 <b>__preferencesChanged</b>(<i></i>) 367 <b>__preferencesChanged</b>(<i></i>)
338 <p> 368 <p>

eric ide

mercurial