onTripleTapWithPosition method
Implementation
void onTripleTapWithPosition(
Offset localPosition,
RenderBox renderBox,
Widget widget,
) {
final paragraph = renderBox as RenderFluentParagraph;
final bounds = paragraph.getLineBoundsAtOffset(localPosition);
if (bounds == null) return;
document.cursor.moveTo(bounds.startFrag, bounds.startOff);
document.cursor.focusTo(bounds.endFrag, bounds.endOff);
_syncSelectionManager(document);
document.syncPendingFontWithCursor();
// Triple-tap does NOT mutate content: cursor-only update.
document.cursorOnlyUpdate();
}