mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
IJPL-27512 force spell checker to update the dictionary right away
For some reason, saving does not update the dictionary without the ` forceSavingAllSettings ` flag. GitOrigin-RevId: 16aab9940cf46ba48478cd07812c88b94ada1082
This commit is contained in:
committed by
intellij-monorepo-bot
parent
dc3c5730ea
commit
3c5cbc2382
@@ -273,7 +273,7 @@ class SpellCheckerManager @Internal constructor(@Internal val project: Project,
|
|||||||
private fun fireDictionaryChanged(dictionary: EditableDictionary) {
|
private fun fireDictionaryChanged(dictionary: EditableDictionary) {
|
||||||
userDictionaryListenerEventDispatcher.multicaster.dictChanged(dictionary)
|
userDictionaryListenerEventDispatcher.multicaster.dictChanged(dictionary)
|
||||||
restartInspections()
|
restartInspections()
|
||||||
SaveAndSyncHandler.getInstance().scheduleProjectSave(project)
|
SaveAndSyncHandler.getInstance().scheduleProjectSave(project, forceSavingAllSettings = true)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun updateUserDictionary(words: Collection<String>) {
|
fun updateUserDictionary(words: Collection<String>) {
|
||||||
|
|||||||
Reference in New Issue
Block a user