I have a document that contains 'identifiers' that I would like to replace if a drop occurs within them. For example I have the string:
after dropping a new identifer over '[foo]', I would like it to be replaced as in:
I have the drag and drop working to the point where my new identifier is being placed into the text, but I cannot seem to find where / when / how to examine and change the drop's TextPosition, which would also alow me to delete the original identifier and drop the new text into its staring point.
Ideally I would also like to select the whole identifier when the new identifier is dragged over top (before dropping).
What is the best way to accomplish this type of requirement?
[Modified 4 years ago]