Hi Mike,
You jumped through some hoops to try and solve the problem but I'm not sure that it did. Once I moved the code into a practical application I found that problems popped up with detecting the target word in the textbox which is why I was asking about determining the current position with a right click. Sometimes it works sometimes not but I need to look a little deeper into it.

I think that the basic DAW textbox needs to be revisited but that's not going to be too soon...