would it be possible to set a selection in the current document by using a tmCommand?
Example: ('|' is indicating the caret position)
-This is a te|xt line.
I invoke a tmCommand which calculates the starting point of a selection, and it sets the selection to e.g. ('[' and ']' indicate the selection)
-This [is a te]xt line.