Selection Range
With the SelectionRange query, a client can ask the server to semantically expand the current selection.
Default Implementation in AnyText
By default, AnyText always selects the entire token. Because AnyText supports white spaces in tokens, this can mean that the selection spans a combination of multiple words.
Customizations
Customizations are currently not possible. Pleas open an issue if you have a use case that requires it and describe the intended scenario.