use of com.intellij.spellchecker.dictionary.ProjectDictionary in project intellij-community by JetBrains.
the class ProjectDictionaryState method retrieveProjectDictionaries.
private void retrieveProjectDictionaries() {
Set<EditableDictionary> dictionaries = new THashSet<>();
if (dictionaryStates != null) {
for (DictionaryState dictionaryState : dictionaryStates) {
dictionaryState.loadState(dictionaryState);
dictionaries.add(dictionaryState.getDictionary());
}
}
projectDictionary = new ProjectDictionary(dictionaries);
}
Aggregations