@RequiresEdt
    public void onSettingsChanged() {
      boolean enabled = myTextDiffProvider.getHighlightPolicy() == HighlightPolicy.BY_WORD;
      if (myEnabled == enabled) return;
      myEnabled = enabled;

      rebuildEverything();
    }
@RequiresEdt
    public void onSettingsChanged()