void (@NotNull Project project) { VcsConfiguration settings = VcsConfiguration.getInstance(project); myMarginSpinner.setNumber(myInspection.RIGHT_MARGIN); myShowRightMargin.setSelected(settings.USE_COMMIT_MESSAGE_MARGIN); myWrapWhenTyping.setSelected(settings.WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN); }