Copied some TextInput grab/selection handle code

No match.