TextInput.lineByIndex

Get line in the input by a byte index.

  1. Rope lineByIndex(size_t index)
    class TextInput
    const
    lineByIndex
    (
    KeepTerminator keepTerminator = No.keepTerminator
    )
    (
    size_t index
    )
  2. const(char)[] lineByIndex(size_t index, const(char)[] value)
  3. Rope lineByIndex(size_t index, Rope newValue)

Return Value

Type: Rope

A rope slice with the line containing the given index.

Meta