Autocomplete is now case insensitive (#4709)

Этот коммит содержится в:
Joram Wilander
2016-12-06 10:50:56 -05:00
коммит произвёл Christopher Speller
родитель 026553e4f8
Коммит 42f28886cc
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@@ -232,6 +232,8 @@ class SuggestionStore extends EventEmitter {
this.clearSuggestions(id);
}
other.pretext = other.pretext.toLowerCase();
this.setPretext(id, other.pretext);
this.emitPretextChanged(id, other.pretext);

Просмотреть файл

@@ -989,7 +989,7 @@ export function getSuggestedCommands(command, suggestionId, component) {
}
},
(err) => {
dispatchError(err, 'getCommandSuggestions');
dispatchError(err, 'getSuggestedCommands');
}
);
}