onSingleLongTapMoveUpdate method
Handler for EditorTextSelectionGestureDetector.onSingleLongTapMoveUpdate
By default, it updates the selection location specified in details
if
selection is enabled.
See also:
- EditorTextSelectionGestureDetector.onSingleLongTapMoveUpdate, which triggers this callback.
Implementation
@protected
void onSingleLongTapMoveUpdate(LongPressMoveUpdateDetails details) {
if (delegate.selectionEnabled) {
renderEditor!.selectPositionAt(
from: details.globalPosition,
cause: SelectionChangedCause.longPress,
);
}
}