deleteForwardAtBlockEnd static method

DiagramTextEditResult deleteForwardAtBlockEnd({
  1. required TextStory story,
  2. required int blockIndex,
})

Handles Delete at the end of a canonical block by merging its compatible successor. Region boundaries are never crossed.

Implementation

static DiagramTextEditResult deleteForwardAtBlockEnd({
  required TextStory story,
  required int blockIndex,
}) => _ParagraphStructureCommands.deleteForwardAtBlockEnd(
  story: story,
  blockIndex: blockIndex,
);