Create an array or list of highlighted text in selection
Noob question...
I have a script that will easily remove any highlighting within the selected text. However, I want to log/track the specific text that is being "un-highlighted" as separate log items (either in an array or list) without including the entire selection. The script I have now just removes any highlighting from anything within the selected range.
Any ideas or links to a good script to borrow to obtain the text being un-highlighted? So far, my attempts either log the entire piece of selected text, or just the last item of highlighted text... But not the individual highlighted "chunks" that I want to record.
Much appreciated!
|