isSemanticPromptLine method

bool isSemanticPromptLine(
  1. int line
)

Returns whether line starts a primary semantic prompt.

Implementation

bool isSemanticPromptLine(int line) {
  _pruneSemanticPromptAnchors();
  for (final anchor in _semanticPromptAnchors) {
    if (anchor.y == line) return true;
    if (anchor.y > line) return false;
  }
  return false;
}