void (@NotNull Config configuration) { scrollToFirst.setSelected(configuration.isScrollToFirst()); highlightStartTagOnly.setSelected(configuration.isHighlightStartTagOnly()); useContextAtCursor.setSelected(configuration.isUseContextAtCursor()); addErrorStripe.setSelected(configuration.isAddErrorStripe()); chooseHighlight.setSelectedColor(configuration.getAttributes().getBackgroundColor()); chooseContext.setSelectedColor(configuration.getContextAttributes().getBackgroundColor()); stateChanged(); }