@Override
          void onKeyChosen(@NotNull TextAttributesKey key) {
            final List<InspectionConfigTreeNode.Tool> toUpdate = new SmartList<>();
            for (final InspectionConfigTreeNode.Tool node : nodes) {
              final NamedScope scope = node.getDefaultDescriptor().getScope();
              final boolean doUpdate = myProfile.getEditorAttributesKey(node.getKey(), scope, project) != key;
              if (doUpdate) {
                myProfile.setEditorAttributesKey(node.getKey().toString(), key.getExternalName(), null, project);
                toUpdate.add(node);
              }
            }
            updateRecursively(toUpdate, true);
          }
@Override
          void onKeyChosen(@NotNull TextAttributesKey key)