@Nullable
  private static TextAttributes getAttributes(@NotNull EditorColorsManager colorsManager, @NotNull String segmentName) {
    if (segmentName.equals(PRIMARY_VARIABLE_NAME)) {
      return colorsManager.getGlobalScheme().getAttributes(EditorColors.WRITE_SEARCH_RESULT_ATTRIBUTES);
    }
    if (segmentName.equals(OTHER_VARIABLE_NAME)) {
      return colorsManager.getGlobalScheme().getAttributes(EditorColors.SEARCH_RESULT_ATTRIBUTES);
    }
    return null;
  }
@Nullable
  private static TextAttributes getAttributes(@NotNull EditorColorsManager colorsManager, @NotNull String segmentName)