void (boolean selected) { if (project.isDisposed()) { return; } currentState.setAutoscrollFromSource(selected); getDefaultState().setAutoscrollFromSource(selected); getGlobalOptions().setAutoscrollFromSource(selected); if (selected && !autoScrollFromSourceHandler.isCurrentProjectViewPaneFocused()) { SelectInProjectViewImplKt.getLOG().debug("Invoking scroll from source because Always Select Opened File has been turned on"); autoScrollFromSourceHandler.scrollFromSource(); } }