public static @NotNull String calcStringToFillVirtualSpace(@NotNull Editor editor) {
    int afterLineEnd = calcAfterLineEnd(editor);
    if (afterLineEnd > 0) {
      return calcStringToFillVirtualSpace(editor, afterLineEnd);
    }

    return "";
  }
public static @NotNull String calcStringToFillVirtualSpace(@NotNull Editor editor)