DiffCommentLineHighlight.range constructor
DiffCommentLineHighlight.range(
- DiffCommentAnchor anchor
Creates a selected-range highlight from anchor.
Implementation
factory DiffCommentLineHighlight.range(DiffCommentAnchor anchor) {
return DiffCommentLineHighlight(
key: anchor.key,
kind: DiffCommentLineHighlightKind.range,
);
}