selectedBlockIndices static method

List<int> selectedBlockIndices(
  1. TextStory story,
  2. int start,
  3. int? end
)

Paragraphs touched by a canonical selection. Its trailing boundary is exclusive, so selecting up to the next paragraph does not format it.

Implementation

static List<int> selectedBlockIndices(TextStory story, int start, int? end) =>
    _ParagraphFormattingCommands.selectedBlockIndices(story, start, end);