// Apply editorconfig settings for the current editor
applyCodeStyleSettings(outPairs, newSettings, file);
codeStyleSettingsManager.setTemporarySettings(newSettings);
final EditorEx currentEditor = (EditorEx) FileEditorManager.getInstance(project).getSelectedTextEditor();
if (currentEditor != null){
currentEditor.reinitSettings();
}
}
}
private void applyCodeStyleSettings(final List<OutPair> outPairs, final CodeStyleSettings codeStyleSettings,