UIWritingToolsCoordinator.ContextScope.userSelection
An option to provide only the view’s currently selected text.
Declaration
case userSelectionDiscussion
With this option, include the selected text in your context object, along with some additional text before and after the selection. When performing changes inline with your view’s content, Writing Tools applies animations only to the selected text.