This repository was archived by the owner on Nov 28, 2018. It is now read-only.
Commit 7071212
committed
add a new config named "completeIssuer".
This new config handles the command completion when the tab key is
pressed. It differs from `'completeHandle'`. `'completeIssuer'` will
just trigger the calculation for completion, and the result is returned
asynchronously, after which the controller's
`'showCompletion(promptText, completions)'` can be invoked with the
result. `'completeHandle'` will retrieve the result synchronously, and
show the result. If `'completeHandle'` exists, `'completeIssuer'` is
ignored. A typical usage of `'completeIssuer'` is that the completion is
retrieved from the server using ajax or WebSocket asynchronously.1 parent 0f2ee06 commit 7071212
2 files changed
+48
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
673 | 674 | | |
674 | 675 | | |
675 | 676 | | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
676 | 685 | | |
677 | 686 | | |
678 | 687 | | |
| |||
705 | 714 | | |
706 | 715 | | |
707 | 716 | | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
708 | 755 | | |
709 | 756 | | |
710 | 757 | | |
| |||
0 commit comments