This commit is contained in:
David Baker 2017-11-02 18:11:18 +00:00
parent 42589281d1
commit ee43c635d1

View file

@ -66,7 +66,7 @@ export default class Autocompleter {
} }
async getCompletions(query: string, selection: SelectionRange, force: boolean = false): Array<Completion> { async getCompletions(query: string, selection: SelectionRange, force: boolean = false): Array<Completion> {
/* Note: That this waits for all providers to return is *intentional* /* Note: This intentionally waits for all providers to return,
otherwise, we run into a condition where new completions are displayed otherwise, we run into a condition where new completions are displayed
while the user is interacting with the list, which makes it difficult while the user is interacting with the list, which makes it difficult
to predict whether an action will actually do what is intended to predict whether an action will actually do what is intended