public static int getNotFoldedLineStartOffset(@NotNull Editor editor, int offset) {
    return getNotFoldedLineStartOffset(editor, offset, false);
  }
public static int getNotFoldedLineStartOffset(@NotNull Editor editor, int offset)