semanticPromptLineAfter method

int? semanticPromptLineAfter(
  1. int line
)

Finds the nearest primary semantic prompt strictly after line.

Implementation

int? semanticPromptLineAfter(int line) {
  _pruneSemanticPromptAnchors();
  for (final anchor in _semanticPromptAnchors) {
    if (anchor.y > line) return anchor.y;
  }
  return null;
}