setParagraphInText method

bool setParagraphInText(
  1. int n
)

Given a paragraph index n within the surrounding text, this sets this object to the paragraph at that index. Returns nothing when out of bounds.

This is equivalent to calling paragraph_at() on BidiInfo but doesn't create a new object

Implementation

bool setParagraphInText(int n) {
  final result = _icu4x_BidiParagraph_set_paragraph_in_text_mv1(_ffi, n);
  return result;
}