setSelection method
Implementation
void setSelection(TextSelection selection) {
_rope.setSelection(
baseOffset: BigInt.from(selection.baseOffset),
extentOffset: BigInt.from(selection.extentOffset),
);
}
void setSelection(TextSelection selection) {
_rope.setSelection(
baseOffset: BigInt.from(selection.baseOffset),
extentOffset: BigInt.from(selection.extentOffset),
);
}