EditorEx () { EditorEx editor = super.createEditor(); ReadAction.run(() -> { EditorCustomization disableSpellChecking = SpellCheckingEditorCustomizationProvider.getInstance().getDisabledCustomization(); if (disableSpellChecking != null) { disableSpellChecking.customize(editor); } }); editor.putUserData(AutoPopupController.ALWAYS_AUTO_POPUP, myForceAutoPopup); if (myShowHint) { TextCompletionUtil.installCompletionHint(editor); } return editor; }