textRange property
The range of text to style.
The range may be extended to include adjacent newlines. If the range fully contains a paragraph belonging to a list, the paragraph's bullet is also updated with the matching text style.
Implementation
Range? textRange;