I’m working on a project which is in the C# language. My question is: How can I detect the string which is under the Mouse Cursor and is between the “(” and “)”?
For example: I want to highlight “yahoo” in a textbox with this content when the mouse is over it: google(1) yahoo(2) apple(3) microsoft(4) …
Edit
The following code will select the word directly under the Mouse
Xaml
Code behind