147 <tr> |
147 <tr> |
148 <td><a href="#CodeAssistServer.getCallTips">getCallTips</a></td> |
148 <td><a href="#CodeAssistServer.getCallTips">getCallTips</a></td> |
149 <td>Public method to calculate calltips.</td> |
149 <td>Public method to calculate calltips.</td> |
150 </tr> |
150 </tr> |
151 <tr> |
151 <tr> |
152 <td><a href="#CodeAssistServer.getCompletions">getCompletions</a></td> |
|
153 <td>Public method to calculate the possible completions.</td> |
|
154 </tr> |
|
155 <tr> |
|
156 <td><a href="#CodeAssistServer.gotoDefinition">gotoDefinition</a></td> |
152 <td><a href="#CodeAssistServer.gotoDefinition">gotoDefinition</a></td> |
157 <td>Public slot to find the definition for the word at the cursor position and go to it.</td> |
153 <td>Public slot to find the definition for the word at the cursor position and go to it.</td> |
158 </tr> |
154 </tr> |
159 <tr> |
155 <tr> |
160 <td><a href="#CodeAssistServer.handleCall">handleCall</a></td> |
156 <td><a href="#CodeAssistServer.handleCall">handleCall</a></td> |
177 <td>Public method to request source code documentation for the given editor.</td> |
173 <td>Public method to request source code documentation for the given editor.</td> |
178 </tr> |
174 </tr> |
179 <tr> |
175 <tr> |
180 <td><a href="#CodeAssistServer.requestCompletions">requestCompletions</a></td> |
176 <td><a href="#CodeAssistServer.requestCompletions">requestCompletions</a></td> |
181 <td>Public method to request a list of possible completions.</td> |
177 <td>Public method to request a list of possible completions.</td> |
182 </tr> |
|
183 <tr> |
|
184 <td><a href="#CodeAssistServer.setAsyncCompletions">setAsyncCompletions</a></td> |
|
185 <td>Public method to set the asynchronous completions flag.</td> |
|
186 </tr> |
178 </tr> |
187 </table> |
179 </table> |
188 <h3>Static Methods</h3> |
180 <h3>Static Methods</h3> |
189 |
181 |
190 <table> |
182 <table> |
519 </dl> |
511 </dl> |
520 <dl> |
512 <dl> |
521 <dt>Return:</dt> |
513 <dt>Return:</dt> |
522 <dd> |
514 <dd> |
523 list of possible calltips |
515 list of possible calltips |
524 </dd> |
|
525 </dl> |
|
526 <dl> |
|
527 <dt>Return Type:</dt> |
|
528 <dd> |
|
529 list of str |
|
530 </dd> |
|
531 </dl> |
|
532 <a NAME="CodeAssistServer.getCompletions" ID="CodeAssistServer.getCompletions"></a> |
|
533 <h4>CodeAssistServer.getCompletions</h4> |
|
534 <b>getCompletions</b>(<i>editor, context</i>) |
|
535 |
|
536 <p> |
|
537 Public method to calculate the possible completions. |
|
538 </p> |
|
539 <p> |
|
540 Note: This is the synchronous variant for eric6 before 17.11. |
|
541 </p> |
|
542 <dl> |
|
543 |
|
544 <dt><i>editor</i> (QScintilla.Editor.Editor)</dt> |
|
545 <dd> |
|
546 reference to the editor object, that called this method |
|
547 </dd> |
|
548 <dt><i>context</i> (bool)</dt> |
|
549 <dd> |
|
550 flag indicating to autocomplete a context |
|
551 </dd> |
|
552 </dl> |
|
553 <dl> |
|
554 <dt>Return:</dt> |
|
555 <dd> |
|
556 list of possible completions |
|
557 </dd> |
516 </dd> |
558 </dl> |
517 </dl> |
559 <dl> |
518 <dl> |
560 <dt>Return Type:</dt> |
519 <dt>Return Type:</dt> |
561 <dd> |
520 <dd> |
670 <b>requestCompletions</b>(<i>editor, context, acText</i>) |
629 <b>requestCompletions</b>(<i>editor, context, acText</i>) |
671 |
630 |
672 <p> |
631 <p> |
673 Public method to request a list of possible completions. |
632 Public method to request a list of possible completions. |
674 </p> |
633 </p> |
675 <p> |
634 <dl> |
676 Note: This is part of the asynchronous variant for eric6 17.11 and |
635 |
677 later. |
636 <dt><i>editor</i> (Editor)</dt> |
678 </p> |
|
679 <dl> |
|
680 |
|
681 <dt><i>editor</i> (QScintilla.Editor.Editor)</dt> |
|
682 <dd> |
637 <dd> |
683 reference to the editor object, that called this method |
638 reference to the editor object, that called this method |
684 </dd> |
639 </dd> |
685 <dt><i>context</i> (bool)</dt> |
640 <dt><i>context</i> (bool)</dt> |
686 <dd> |
641 <dd> |
687 flag indicating to autocomplete a context |
642 flag indicating to autocomplete a context |
688 </dd> |
643 </dd> |
689 <dt><i>acText</i> (str)</dt> |
644 <dt><i>acText</i> (str)</dt> |
690 <dd> |
645 <dd> |
691 text to be completed |
646 text to be completed |
692 </dd> |
|
693 </dl> |
|
694 <a NAME="CodeAssistServer.setAsyncCompletions" ID="CodeAssistServer.setAsyncCompletions"></a> |
|
695 <h4>CodeAssistServer.setAsyncCompletions</h4> |
|
696 <b>setAsyncCompletions</b>(<i>asynchronous</i>) |
|
697 |
|
698 <p> |
|
699 Public method to set the asynchronous completions flag. |
|
700 </p> |
|
701 <dl> |
|
702 |
|
703 <dt><i>asynchronous</i> (bool)</dt> |
|
704 <dd> |
|
705 flag indicating asynchronous completions |
|
706 </dd> |
647 </dd> |
707 </dl> |
648 </dl> |
708 <div align="right"><a href="#top">Up</a></div> |
649 <div align="right"><a href="#top">Up</a></div> |
709 <hr /> |
650 <hr /> |
710 </body></html> |
651 </body></html> |