Basically I have a series of lines in a textbox like this:
### = 1232, 1234, 1236, 1238, 123A, 123C ; comment here
I want to show a button when the caret (cursor pipe thing) in the textbox goes is in a number so like:
... , 12|31, ....
or
... , 123|1, ....
etc
(the pipe being the caret)
I have written code to check if it is in a number and to get the number when the button is clicked, but it doesn't work correctly if I put the code in the selection changed event.
oh and the numbers can be upto 8 digits long and hex.