use of com.intellij.openapi.wm.impl.status.LineSeparatorPanel in project intellij-community by JetBrains.
the class LineEndingsManager method updateStatusBar.
private void updateStatusBar() {
ApplicationManager.getApplication().invokeLater(() -> {
IdeFrame frame = WindowManager.getInstance().getIdeFrame(myProject);
StatusBar statusBar = frame != null ? frame.getStatusBar() : null;
StatusBarWidget widget = statusBar != null ? statusBar.getWidget("LineSeparator") : null;
if (widget instanceof LineSeparatorPanel) {
FileEditorManagerEvent event = new FileEditorManagerEvent(FileEditorManager.getInstance(myProject), null, null, null, null);
((LineSeparatorPanel) widget).selectionChanged(event);
}
});
}
Aggregations