• Gets all lines that are at least partially between start and end.

    Parameters

    • text: string

      Text to search in.

    • start: number

      Start of the selection.

    • end: number = start

      End of the selection. Defaults to start.

    Returns readonly [string[], number, number]

    A tuple containing an array of lines, the starting position of the first line, and the ending position of the last line.

Generated using TypeDoc