setLine method

void setLine(
  1. Line l
)

Implementation

void setLine(Line l) {
  if (line == l) {
    return;
  }
  line = l;
  _containsCursor = null;
  markNeedsLayout();
}