remove shouldShowEmptySuggestionList, fixes #5888

This commit is contained in:
Yuki Ueda
2016-05-02 17:00:22 +09:00
parent e400396bab
commit 158a7206d7
5 changed files with 2 additions and 21 deletions

View File

@@ -580,9 +580,6 @@ class SuggestAdapter implements modes.ISuggestSupport {
getTriggerCharacters(): string[] {
throw new Error('illegal state');
}
shouldShowEmptySuggestionList(): boolean {
throw new Error('illegal state');
}
shouldAutotriggerSuggest(context: modes.ILineContext, offset: number, triggeredByCharacter: string): boolean {
throw new Error('illegal state');
}
@@ -1027,9 +1024,6 @@ export class MainThreadLanguageFeatures {
getTriggerCharacters(): string[] {
return triggerCharacters;
},
shouldShowEmptySuggestionList(): boolean {
return true;
},
shouldAutotriggerSuggest(): boolean {
return true;
}