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

branch
eric7
changeset 180
89ff060ef0d9
parent 177
25cb41783971
child 193
e1b0e65903d9
equal deleted inserted replaced
179:62d9dc4eedd5 180:89ff060ef0d9
167 <p> 167 <p>
168 Constructor 168 Constructor
169 </p> 169 </p>
170 <dl> 170 <dl>
171 171
172 <dt><i>plugin</i></dt> 172 <dt><i>plugin</i> (AssistantEricPlugin)</dt>
173 <dd> 173 <dd>
174 reference to the plugin object 174 reference to the plugin object
175 </dd> 175 </dd>
176 <dt><i>parent</i></dt> 176 <dt><i>parent</i> (QObject)</dt>
177 <dd> 177 <dd>
178 parent (QObject) 178 parent
179 </dd> 179 </dd>
180 </dl> 180 </dl>
181 <a NAME="Assistant.__editorClosed" ID="Assistant.__editorClosed"></a> 181 <a NAME="Assistant.__editorClosed" ID="Assistant.__editorClosed"></a>
182 <h4>Assistant.__editorClosed</h4> 182 <h4>Assistant.__editorClosed</h4>
183 <b>__editorClosed</b>(<i>editor</i>) 183 <b>__editorClosed</b>(<i>editor</i>)
185 <p> 185 <p>
186 Private slot called, when an editor was closed. 186 Private slot called, when an editor was closed.
187 </p> 187 </p>
188 <dl> 188 <dl>
189 189
190 <dt><i>editor</i></dt> 190 <dt><i>editor</i> (Editor)</dt>
191 <dd> 191 <dd>
192 reference to the editor (QScintilla.Editor) 192 reference to the editor
193 </dd> 193 </dd>
194 </dl> 194 </dl>
195 <a NAME="Assistant.__editorOpened" ID="Assistant.__editorOpened"></a> 195 <a NAME="Assistant.__editorOpened" ID="Assistant.__editorOpened"></a>
196 <h4>Assistant.__editorOpened</h4> 196 <h4>Assistant.__editorOpened</h4>
197 <b>__editorOpened</b>(<i>editor</i>) 197 <b>__editorOpened</b>(<i>editor</i>)
199 <p> 199 <p>
200 Private slot called, when a new editor was opened. 200 Private slot called, when a new editor was opened.
201 </p> 201 </p>
202 <dl> 202 <dl>
203 203
204 <dt><i>editor</i></dt> 204 <dt><i>editor</i> (Editor)</dt>
205 <dd> 205 <dd>
206 reference to the new editor (QScintilla.Editor) 206 reference to the new editor
207 </dd> 207 </dd>
208 </dl> 208 </dl>
209 <a NAME="Assistant.__getApiCalltips" ID="Assistant.__getApiCalltips"></a> 209 <a NAME="Assistant.__getApiCalltips" ID="Assistant.__getApiCalltips"></a>
210 <h4>Assistant.__getApiCalltips</h4> 210 <h4>Assistant.__getApiCalltips</h4>
211 <b>__getApiCalltips</b>(<i>api, word, commas, prefix, module, editor</i>) 211 <b>__getApiCalltips</b>(<i>api, word, commas, prefix, module, editor</i>)
213 <p> 213 <p>
214 Private method to determine calltips from APIs. 214 Private method to determine calltips from APIs.
215 </p> 215 </p>
216 <dl> 216 <dl>
217 217
218 <dt><i>api</i></dt> 218 <dt><i>api</i> (APIsManager.DbAPIs)</dt>
219 <dd> 219 <dd>
220 reference to the API object to be used (APIsManager.DbAPIs) 220 reference to the API object to be used
221 </dd> 221 </dd>
222 <dt><i>word</i></dt> 222 <dt><i>word</i> (str)</dt>
223 <dd> 223 <dd>
224 function to get calltips for (string) 224 function to get calltips for
225 </dd> 225 </dd>
226 <dt><i>commas</i></dt> 226 <dt><i>commas</i> (int)</dt>
227 <dd> 227 <dd>
228 minimum number of commas contained in the calltip 228 minimum number of commas contained in the calltip
229 (integer) 229 </dd>
230 </dd> 230 <dt><i>prefix</i> (str)</dt>
231 <dt><i>prefix</i></dt> 231 <dd>
232 <dd> 232 prefix of the word to be completed
233 prefix of the word to be completed (string) 233 </dd>
234 </dd> 234 <dt><i>module</i> (Module)</dt>
235 <dt><i>module</i></dt> 235 <dd>
236 <dd> 236 reference to the scanned module info
237 reference to the scanned module info (Module) 237 </dd>
238 </dd> 238 <dt><i>editor</i> (Editor)</dt>
239 <dt><i>editor</i></dt> 239 <dd>
240 <dd> 240 reference to the editor object
241 reference to the editor object (QScintilla.Editor) 241 </dd>
242 </dd> 242 </dl>
243 </dl> 243 <dl>
244 <dl> 244 <dt>Return:</dt>
245 <dt>Return:</dt> 245 <dd>
246 <dd> 246 list of calltips
247 list of calltips (list of string) 247 </dd>
248 </dl>
249 <dl>
250 <dt>Return Type:</dt>
251 <dd>
252 list of str
248 </dd> 253 </dd>
249 </dl> 254 </dl>
250 <a NAME="Assistant.__getApiCompletions" ID="Assistant.__getApiCompletions"></a> 255 <a NAME="Assistant.__getApiCompletions" ID="Assistant.__getApiCompletions"></a>
251 <h4>Assistant.__getApiCompletions</h4> 256 <h4>Assistant.__getApiCompletions</h4>
252 <b>__getApiCompletions</b>(<i>api, word, context, prefix, module, editor</i>) 257 <b>__getApiCompletions</b>(<i>api, word, context, prefix, module, editor</i>)
254 <p> 259 <p>
255 Private method to determine a list of completions from an API object. 260 Private method to determine a list of completions from an API object.
256 </p> 261 </p>
257 <dl> 262 <dl>
258 263
259 <dt><i>api</i></dt> 264 <dt><i>api</i> (APIsManager.DbAPIs)</dt>
260 <dd> 265 <dd>
261 reference to the API object to be used (APIsManager.DbAPIs) 266 reference to the API object to be used
262 </dd> 267 </dd>
263 <dt><i>word</i></dt> 268 <dt><i>word</i> (str)</dt>
264 <dd> 269 <dd>
265 word (or wordpart) to complete (string) 270 word (or wordpart) to complete
266 </dd> 271 </dd>
267 <dt><i>context</i></dt> 272 <dt><i>context</i> (bool)</dt>
268 <dd> 273 <dd>
269 flag indicating to autocomplete a context (boolean) 274 flag indicating to autocomplete a context
270 </dd> 275 </dd>
271 <dt><i>prefix</i></dt> 276 <dt><i>prefix</i> (str)</dt>
272 <dd> 277 <dd>
273 prefix of the word to be completed (string) 278 prefix of the word to be completed
274 </dd> 279 </dd>
275 <dt><i>module</i></dt> 280 <dt><i>module</i> (Module)</dt>
276 <dd> 281 <dd>
277 reference to the scanned module info (Module) 282 reference to the scanned module info
278 </dd> 283 </dd>
279 <dt><i>editor</i></dt> 284 <dt><i>editor</i> (Editor)</dt>
280 <dd> 285 <dd>
281 reference to the editor object (QScintilla.Editor.Editor) 286 reference to the editor object
282 </dd> 287 </dd>
283 </dl> 288 </dl>
284 <dl> 289 <dl>
285 <dt>Return:</dt> 290 <dt>Return:</dt>
286 <dd> 291 <dd>
287 list of possible completions (list of strings) 292 list of possible completions
293 </dd>
294 </dl>
295 <dl>
296 <dt>Return Type:</dt>
297 <dd>
298 list of str
288 </dd> 299 </dd>
289 </dl> 300 </dl>
290 <a NAME="Assistant.__getCompletions" ID="Assistant.__getCompletions"></a> 301 <a NAME="Assistant.__getCompletions" ID="Assistant.__getCompletions"></a>
291 <h4>Assistant.__getCompletions</h4> 302 <h4>Assistant.__getCompletions</h4>
292 <b>__getCompletions</b>(<i>word, context, prefix, language, projectType, module, editor, importCompletion, documentOnly, sep</i>) 303 <b>__getCompletions</b>(<i>word, context, prefix, language, projectType, module, editor, importCompletion, documentOnly, sep</i>)
294 <p> 305 <p>
295 Private method to get the list of possible completions. 306 Private method to get the list of possible completions.
296 </p> 307 </p>
297 <dl> 308 <dl>
298 309
299 <dt><i>word</i></dt> 310 <dt><i>word</i> (str)</dt>
300 <dd> 311 <dd>
301 word (or wordpart) to complete (string) 312 word (or wordpart) to complete
302 </dd> 313 </dd>
303 <dt><i>context</i></dt> 314 <dt><i>context</i> (bool)</dt>
304 <dd> 315 <dd>
305 flag indicating to autocomplete a context (boolean) 316 flag indicating to autocomplete a context
306 </dd> 317 </dd>
307 <dt><i>prefix</i></dt> 318 <dt><i>prefix</i> (str)</dt>
308 <dd> 319 <dd>
309 prefix of the word to be completed (string) 320 prefix of the word to be completed
310 </dd> 321 </dd>
311 <dt><i>language</i></dt> 322 <dt><i>language</i> (str)</dt>
312 <dd> 323 <dd>
313 programming language of the source (string) 324 programming language of the source
314 </dd> 325 </dd>
315 <dt><i>projectType</i></dt> 326 <dt><i>projectType</i> (str)</dt>
316 <dd> 327 <dd>
317 type of the project (string) 328 type of the project
318 </dd> 329 </dd>
319 <dt><i>module</i></dt> 330 <dt><i>module</i> (Module)</dt>
320 <dd> 331 <dd>
321 reference to the scanned module info (Module) 332 reference to the scanned module info
322 </dd> 333 </dd>
323 <dt><i>editor</i></dt> 334 <dt><i>editor</i> (Editor)</dt>
324 <dd> 335 <dd>
325 reference to the editor object (QScintilla.Editor.Editor) 336 reference to the editor object
326 </dd> 337 </dd>
327 <dt><i>importCompletion</i></dt> 338 <dt><i>importCompletion</i> (bool)</dt>
328 <dd> 339 <dd>
329 flag indicating an import completion (boolean) 340 flag indicating an import completion
330 </dd> 341 </dd>
331 <dt><i>documentOnly</i></dt> 342 <dt><i>documentOnly</i> (bool)</dt>
332 <dd> 343 <dd>
333 flag indicating to complete from the document only 344 flag indicating to complete from the document only
334 (boolean) 345 </dd>
335 </dd> 346 <dt><i>sep</i> (str)</dt>
336 <dt><i>sep</i></dt> 347 <dd>
337 <dd> 348 separator string
338 separator string (string) 349 </dd>
339 </dd> 350 </dl>
340 </dl> 351 <dl>
341 <dl> 352 <dt>Return:</dt>
342 <dt>Return:</dt> 353 <dd>
343 <dd> 354 list of possible completions
344 list of possible completions (list of strings) 355 </dd>
356 </dl>
357 <dl>
358 <dt>Return Type:</dt>
359 <dd>
360 list of str
345 </dd> 361 </dd>
346 </dl> 362 </dl>
347 <a NAME="Assistant.__getDocumentCalltips" ID="Assistant.__getDocumentCalltips"></a> 363 <a NAME="Assistant.__getDocumentCalltips" ID="Assistant.__getDocumentCalltips"></a>
348 <h4>Assistant.__getDocumentCalltips</h4> 364 <h4>Assistant.__getDocumentCalltips</h4>
349 <b>__getDocumentCalltips</b>(<i>word, prefix, module, editor, doHierarchy=False</i>) 365 <b>__getDocumentCalltips</b>(<i>word, prefix, module, editor, doHierarchy=False</i>)
351 <p> 367 <p>
352 Private method to determine calltips from the document. 368 Private method to determine calltips from the document.
353 </p> 369 </p>
354 <dl> 370 <dl>
355 371
356 <dt><i>word</i></dt> 372 <dt><i>word</i> (str)</dt>
357 <dd> 373 <dd>
358 function to get calltips for (string) 374 function to get calltips for
359 </dd> 375 </dd>
360 <dt><i>prefix</i></dt> 376 <dt><i>prefix</i> (str)</dt>
361 <dd> 377 <dd>
362 prefix of the word to be completed (string) 378 prefix of the word to be completed
363 </dd> 379 </dd>
364 <dt><i>module</i></dt> 380 <dt><i>module</i> (Module)</dt>
365 <dd> 381 <dd>
366 reference to the scanned module info (Module) 382 reference to the scanned module info
367 </dd> 383 </dd>
368 <dt><i>editor</i></dt> 384 <dt><i>editor</i> (Editor)</dt>
369 <dd> 385 <dd>
370 reference to the editor object (QScintilla.Editor) 386 reference to the editor object
371 </dd> 387 </dd>
372 <dt><i>doHierarchy=</i></dt> 388 <dt><i>doHierarchy</i> (bool)</dt>
373 <dd> 389 <dd>
374 flag indicating a hierarchical search (boolean) 390 flag indicating a hierarchical search
375 </dd> 391 </dd>
376 </dl> 392 </dl>
377 <dl> 393 <dl>
378 <dt>Return:</dt> 394 <dt>Return:</dt>
379 <dd> 395 <dd>
380 list of calltips (list of string) 396 list of calltips
397 </dd>
398 </dl>
399 <dl>
400 <dt>Return Type:</dt>
401 <dd>
402 list of str
381 </dd> 403 </dd>
382 </dl> 404 </dl>
383 <a NAME="Assistant.__getDocumentCompletions" ID="Assistant.__getDocumentCompletions"></a> 405 <a NAME="Assistant.__getDocumentCompletions" ID="Assistant.__getDocumentCompletions"></a>
384 <h4>Assistant.__getDocumentCompletions</h4> 406 <h4>Assistant.__getDocumentCompletions</h4>
385 <b>__getDocumentCompletions</b>(<i>editor, word, context, sep, prefix, module, doHierarchy=False</i>) 407 <b>__getDocumentCompletions</b>(<i>editor, word, context, sep, prefix, module, doHierarchy=False</i>)
387 <p> 409 <p>
388 Private method to determine autocompletion proposals from the document. 410 Private method to determine autocompletion proposals from the document.
389 </p> 411 </p>
390 <dl> 412 <dl>
391 413
392 <dt><i>editor</i></dt> 414 <dt><i>editor</i> (Editor)</dt>
393 <dd> 415 <dd>
394 reference to the editor object (QScintilla.Editor.Editor) 416 reference to the editor object
395 </dd> 417 </dd>
396 <dt><i>word</i></dt> 418 <dt><i>word</i> (str)</dt>
397 <dd> 419 <dd>
398 string to be completed (string) 420 string to be completed
399 </dd> 421 </dd>
400 <dt><i>context</i></dt> 422 <dt><i>context</i> (bool)</dt>
401 <dd> 423 <dd>
402 flag indicating to autocomplete a context (boolean) 424 flag indicating to autocomplete a context
403 </dd> 425 </dd>
404 <dt><i>sep</i></dt> 426 <dt><i>sep</i> (str)</dt>
405 <dd> 427 <dd>
406 separator string (string) 428 separator string
407 </dd> 429 </dd>
408 <dt><i>prefix</i></dt> 430 <dt><i>prefix</i> (str)</dt>
409 <dd> 431 <dd>
410 prefix of the word to be completed (string) 432 prefix of the word to be completed
411 </dd> 433 </dd>
412 <dt><i>module</i></dt> 434 <dt><i>module</i> (Module)</dt>
413 <dd> 435 <dd>
414 reference to the scanned module info (Module) 436 reference to the scanned module info
415 </dd> 437 </dd>
416 <dt><i>doHierarchy=</i></dt> 438 <dt><i>doHierarchy</i> (bool)</dt>
417 <dd> 439 <dd>
418 flag indicating a hierarchical search (boolean) 440 flag indicating a hierarchical search
419 </dd> 441 </dd>
420 </dl> 442 </dl>
421 <dl> 443 <dl>
422 <dt>Return:</dt> 444 <dt>Return:</dt>
423 <dd> 445 <dd>
424 list of possible completions (list of strings) 446 list of possible completions
447 </dd>
448 </dl>
449 <dl>
450 <dt>Return Type:</dt>
451 <dd>
452 list of str
425 </dd> 453 </dd>
426 </dl> 454 </dl>
427 <a NAME="Assistant.__getProjectType" ID="Assistant.__getProjectType"></a> 455 <a NAME="Assistant.__getProjectType" ID="Assistant.__getProjectType"></a>
428 <h4>Assistant.__getProjectType</h4> 456 <h4>Assistant.__getProjectType</h4>
429 <b>__getProjectType</b>(<i>editor</i>) 457 <b>__getProjectType</b>(<i>editor</i>)
465 Private slot to handle the selection from the completion list to 493 Private slot to handle the selection from the completion list to
466 record the selected completion context. 494 record the selected completion context.
467 </p> 495 </p>
468 <dl> 496 <dl>
469 497
470 <dt><i>userListId</i></dt> 498 <dt><i>userListId</i> (int)</dt>
471 <dd> 499 <dd>
472 the ID of the user list (should be 1) (integer) 500 the ID of the user list (should be 1)
473 </dd> 501 </dd>
474 <dt><i>txt</i></dt> 502 <dt><i>txt</i> (str)</dt>
475 <dd> 503 <dd>
476 the selected text (string) 504 the selected text
477 </dd> 505 </dd>
478 </dl> 506 </dl>
479 <a NAME="Assistant.__setAutoCompletionHook" ID="Assistant.__setAutoCompletionHook"></a> 507 <a NAME="Assistant.__setAutoCompletionHook" ID="Assistant.__setAutoCompletionHook"></a>
480 <h4>Assistant.__setAutoCompletionHook</h4> 508 <h4>Assistant.__setAutoCompletionHook</h4>
481 <b>__setAutoCompletionHook</b>(<i>editor</i>) 509 <b>__setAutoCompletionHook</b>(<i>editor</i>)
483 <p> 511 <p>
484 Private method to set the autocompletion hook. 512 Private method to set the autocompletion hook.
485 </p> 513 </p>
486 <dl> 514 <dl>
487 515
488 <dt><i>editor</i></dt> 516 <dt><i>editor</i> (Editor)</dt>
489 <dd> 517 <dd>
490 reference to the editor (QScintilla.Editor) 518 reference to the editor
491 </dd> 519 </dd>
492 </dl> 520 </dl>
493 <a NAME="Assistant.__setCalltipsHook" ID="Assistant.__setCalltipsHook"></a> 521 <a NAME="Assistant.__setCalltipsHook" ID="Assistant.__setCalltipsHook"></a>
494 <h4>Assistant.__setCalltipsHook</h4> 522 <h4>Assistant.__setCalltipsHook</h4>
495 <b>__setCalltipsHook</b>(<i>editor</i>) 523 <b>__setCalltipsHook</b>(<i>editor</i>)
497 <p> 525 <p>
498 Private method to set the calltip hook. 526 Private method to set the calltip hook.
499 </p> 527 </p>
500 <dl> 528 <dl>
501 529
502 <dt><i>editor</i></dt> 530 <dt><i>editor</i> (Editor)</dt>
503 <dd> 531 <dd>
504 reference to the editor (QScintilla.Editor) 532 reference to the editor
505 </dd> 533 </dd>
506 </dl> 534 </dl>
507 <a NAME="Assistant.__shutdown" ID="Assistant.__shutdown"></a> 535 <a NAME="Assistant.__shutdown" ID="Assistant.__shutdown"></a>
508 <h4>Assistant.__shutdown</h4> 536 <h4>Assistant.__shutdown</h4>
509 <b>__shutdown</b>(<i></i>) 537 <b>__shutdown</b>(<i></i>)
518 <p> 546 <p>
519 Private method to unset the autocompletion hook. 547 Private method to unset the autocompletion hook.
520 </p> 548 </p>
521 <dl> 549 <dl>
522 550
523 <dt><i>editor</i></dt> 551 <dt><i>editor</i> (Editor)</dt>
524 <dd> 552 <dd>
525 reference to the editor (QScintilla.Editor) 553 reference to the editor
526 </dd> 554 </dd>
527 </dl> 555 </dl>
528 <a NAME="Assistant.__unsetCalltipsHook" ID="Assistant.__unsetCalltipsHook"></a> 556 <a NAME="Assistant.__unsetCalltipsHook" ID="Assistant.__unsetCalltipsHook"></a>
529 <h4>Assistant.__unsetCalltipsHook</h4> 557 <h4>Assistant.__unsetCalltipsHook</h4>
530 <b>__unsetCalltipsHook</b>(<i>editor</i>) 558 <b>__unsetCalltipsHook</b>(<i>editor</i>)
532 <p> 560 <p>
533 Private method to unset the calltip hook. 561 Private method to unset the calltip hook.
534 </p> 562 </p>
535 <dl> 563 <dl>
536 564
537 <dt><i>editor</i></dt> 565 <dt><i>editor</i> (Editor)</dt>
538 <dd> 566 <dd>
539 reference to the editor (QScintilla.Editor) 567 reference to the editor
540 </dd> 568 </dd>
541 </dl> 569 </dl>
542 <a NAME="Assistant.activate" ID="Assistant.activate"></a> 570 <a NAME="Assistant.activate" ID="Assistant.activate"></a>
543 <h4>Assistant.activate</h4> 571 <h4>Assistant.activate</h4>
544 <b>activate</b>(<i></i>) 572 <b>activate</b>(<i></i>)
553 <p> 581 <p>
554 Public method to return a list of calltips. 582 Public method to return a list of calltips.
555 </p> 583 </p>
556 <dl> 584 <dl>
557 585
558 <dt><i>editor</i></dt> 586 <dt><i>editor</i> (Editor)</dt>
559 <dd> 587 <dd>
560 reference to the editor (QScintilla.Editor) 588 reference to the editor
561 </dd> 589 </dd>
562 <dt><i>pos</i></dt> 590 <dt><i>pos</i> (int)</dt>
563 <dd> 591 <dd>
564 position in the text for the calltip (integer) 592 position in the text for the calltip
565 </dd> 593 </dd>
566 <dt><i>commas</i></dt> 594 <dt><i>commas</i> (int)</dt>
567 <dd> 595 <dd>
568 minimum number of commas contained in the calltip 596 minimum number of commas contained in the calltip
569 (integer) 597 </dd>
570 </dd> 598 </dl>
571 </dl> 599 <dl>
572 <dl> 600 <dt>Return:</dt>
573 <dt>Return:</dt> 601 <dd>
574 <dd> 602 list of possible calltips
575 list of possible calltips (list of strings) 603 </dd>
604 </dl>
605 <dl>
606 <dt>Return Type:</dt>
607 <dd>
608 list of str
576 </dd> 609 </dd>
577 </dl> 610 </dl>
578 <a NAME="Assistant.deactivate" ID="Assistant.deactivate"></a> 611 <a NAME="Assistant.deactivate" ID="Assistant.deactivate"></a>
579 <h4>Assistant.deactivate</h4> 612 <h4>Assistant.deactivate</h4>
580 <b>deactivate</b>(<i></i>) 613 <b>deactivate</b>(<i></i>)
589 <p> 622 <p>
590 Public method to get a list of possible completions. 623 Public method to get a list of possible completions.
591 </p> 624 </p>
592 <dl> 625 <dl>
593 626
594 <dt><i>editor</i></dt> 627 <dt><i>editor</i> (Editor)</dt>
595 <dd> 628 <dd>
596 reference to the editor object, that called this method 629 reference to the editor object, that called this method
597 (QScintilla.Editor) 630 </dd>
598 </dd> 631 <dt><i>context</i> (bool)</dt>
599 <dt><i>context</i></dt> 632 <dd>
600 <dd> 633 flag indicating to autocomplete a context
601 flag indicating to autocomplete a context (boolean) 634 </dd>
602 </dd> 635 </dl>
603 </dl> 636 <dl>
604 <dl> 637 <dt>Return:</dt>
605 <dt>Return:</dt> 638 <dd>
606 <dd> 639 list of possible completions
607 list of possible completions (list of strings) 640 </dd>
641 </dl>
642 <dl>
643 <dt>Return Type:</dt>
644 <dd>
645 list of str
608 </dd> 646 </dd>
609 </dl> 647 </dl>
610 <a NAME="Assistant.setEnabled" ID="Assistant.setEnabled"></a> 648 <a NAME="Assistant.setEnabled" ID="Assistant.setEnabled"></a>
611 <h4>Assistant.setEnabled</h4> 649 <h4>Assistant.setEnabled</h4>
612 <b>setEnabled</b>(<i>key, enabled</i>) 650 <b>setEnabled</b>(<i>key, enabled</i>)
614 <p> 652 <p>
615 Public method to enable or disable a feature. 653 Public method to enable or disable a feature.
616 </p> 654 </p>
617 <dl> 655 <dl>
618 656
619 <dt><i>key</i></dt> 657 <dt><i>key</i> (str)</dt>
620 <dd> 658 <dd>
621 feature to set (string) 659 feature to set
622 </dd> 660 </dd>
623 <dt><i>enabled</i></dt> 661 <dt><i>enabled</i> (bool)</dt>
624 <dd> 662 <dd>
625 flag indicating the status (boolean) 663 flag indicating the status
626 </dd> 664 </dd>
627 </dl> 665 </dl>
628 <div align="right"><a href="#top">Up</a></div> 666 <div align="right"><a href="#top">Up</a></div>
629 <hr /> 667 <hr />
630 </body></html> 668 </body></html>

eric ide

mercurial