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

changeset 39
7b6ca9397ecc
parent 35
6b706b02c2dd
child 46
5e928f308f55
equal deleted inserted replaced
38:55f259fad55b 39:7b6ca9397ecc
250 requested character or "", if there are no more (string) and 250 requested character or "", if there are no more (string) and
251 the next position (i.e. pos - 1) 251 the next position (i.e. pos - 1)
252 </dd> 252 </dd>
253 </dl><a NAME="Assistant.__getDocumentCalltips" ID="Assistant.__getDocumentCalltips"></a> 253 </dl><a NAME="Assistant.__getDocumentCalltips" ID="Assistant.__getDocumentCalltips"></a>
254 <h4>Assistant.__getDocumentCalltips</h4> 254 <h4>Assistant.__getDocumentCalltips</h4>
255 <b>__getDocumentCalltips</b>(<i>word, prefix, module, editor</i>) 255 <b>__getDocumentCalltips</b>(<i>word, prefix, module, editor, doHierarchy=False</i>)
256 <p> 256 <p>
257 Private method to determine calltips from the document. 257 Private method to determine calltips from the document.
258 </p><dl> 258 </p><dl>
259 <dt><i>word</i></dt> 259 <dt><i>word</i></dt>
260 <dd> 260 <dd>
266 <dd> 266 <dd>
267 reference to the scanned module info (Module) 267 reference to the scanned module info (Module)
268 </dd><dt><i>editor</i></dt> 268 </dd><dt><i>editor</i></dt>
269 <dd> 269 <dd>
270 reference to the editor object (QScintilla.Editor) 270 reference to the editor object (QScintilla.Editor)
271 </dd><dt><i>doHierarchy=</i></dt>
272 <dd>
273 flag indicating a hierarchical search (boolean)
271 </dd> 274 </dd>
272 </dl><dl> 275 </dl><dl>
273 <dt>Returns:</dt> 276 <dt>Returns:</dt>
274 <dd> 277 <dd>
275 list of calltips (list of string) 278 list of calltips (list of string)
276 </dd> 279 </dd>
277 </dl><a NAME="Assistant.__getDocumentCompletions" ID="Assistant.__getDocumentCompletions"></a> 280 </dl><a NAME="Assistant.__getDocumentCompletions" ID="Assistant.__getDocumentCompletions"></a>
278 <h4>Assistant.__getDocumentCompletions</h4> 281 <h4>Assistant.__getDocumentCompletions</h4>
279 <b>__getDocumentCompletions</b>(<i>editor, word, context, sep, prefix, module</i>) 282 <b>__getDocumentCompletions</b>(<i>editor, word, context, sep, prefix, module, doHierarchy=False</i>)
280 <p> 283 <p>
281 Private method to determine autocompletion proposals from the document. 284 Private method to determine autocompletion proposals from the document.
282 </p><dl> 285 </p><dl>
283 <dt><i>editor</i></dt> 286 <dt><i>editor</i></dt>
284 <dd> 287 <dd>
296 <dd> 299 <dd>
297 prefix of the word to be completed (string) 300 prefix of the word to be completed (string)
298 </dd><dt><i>module</i></dt> 301 </dd><dt><i>module</i></dt>
299 <dd> 302 <dd>
300 reference to the scanned module info (Module) 303 reference to the scanned module info (Module)
304 </dd><dt><i>doHierarchy=</i></dt>
305 <dd>
306 flag indicating a hierarchical search (boolean)
301 </dd> 307 </dd>
302 </dl><dl> 308 </dl><dl>
303 <dt>Returns:</dt> 309 <dt>Returns:</dt>
304 <dd> 310 <dd>
305 list of possible completions (list of strings) 311 list of possible completions (list of strings)

eric ide

mercurial