lineAt property

({TextLine Function(num line) $1, TextLine Function(Position position) $2}) get lineAt

Overload accessor: $1, $2

Implementation

({
  /// Returns a text line denoted by the line number. Note
  ///  that the returned object is *not* live and changes to the
  ///  document are not reflected.
  ///
  ///  @param line A line number in [0, lineCount).
  ///  @returns A {@link TextLine line}.
  _i3.TextLine Function(_i2.num line) $1,

  /// Returns a text line denoted by the position. Note
  ///  that the returned object is *not* live and changes to the
  ///  document are not reflected.
  ///
  ///  The position will be {@link TextDocument.validatePosition adjusted}.
  ///
  ///  @see {@link TextDocument.lineAt}
  ///
  ///  @param position A position.
  ///  @returns A {@link TextLine line}.
  _i3.TextLine Function(_i3.Position position) $2,
}) get lineAt => (
      $1: _lineAt$1,
      $2: _lineAt$2,
    );