selectedBlockIndices static method
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);