Document.lineAt

Returns the text of a line at the given position.

Contains the line terminator, if it exists.

The overload taking in a position just calls the overload taking a line with the line being the position's line.

  1. string lineAt(Position position)
  2. string lineAt(Position position)
    struct Document
    immutable
    string
    lineAt
  3. string lineAt(uint line)
  4. string lineAt(uint line)

Meta