@NotNull
  public static IntPair getGutterArea(@NotNull Editor editor) {
    EditorGutterComponentEx gutter = ((EditorEx)editor).getGutterComponentEx();
    if (ExperimentalUI.isNewUI()) {
      int x = gutter.getExtraLineMarkerFreePaintersAreaOffset();
      x += 1; // leave 1px for brace highlighters
      x += 2; //IDEA-286352
      int areaWidth = scaleWithEditor(JBUIScale.scale(JBUI.getInt("Gutter.VcsChanges.width", 4)), editor);
      return new IntPair(x, x + areaWidth);
    }
    else {
      int x = gutter.getLineMarkerFreePaintersAreaOffset();
      x += 1; // leave 1px for brace highlighters
      int endX = gutter.getWhitespaceSeparatorOffset();
      return new IntPair(x, endX);
    }
  }
@NotNull
  public static IntPair getGutterArea(@NotNull Editor editor)