please look at commit 383c87a6869b7c15b051c61c8fc5b87d8bc13fa8 for changes to xspreadsheet.js showing how to track a collection of text highlights on the same cell. I suggest using the diff in this PR between this commit and the previous one (which was only whitespace changes to make the minified js more readable)
I also added demo code to index.html. apologies, this change is split across multiple commits because I had prettier installed which made superfluous formatting changes, that I reversed in a subsequent commit to make the diff easier to understand.
please look at commit 383c87a6869b7c15b051c61c8fc5b87d8bc13fa8 for changes to xspreadsheet.js showing how to track a collection of text highlights on the same cell. I suggest using the diff in this PR between this commit and the previous one (which was only whitespace changes to make the minified js more readable)
I also added demo code to index.html. apologies, this change is split across multiple commits because I had prettier installed which made superfluous formatting changes, that I reversed in a subsequent commit to make the diff easier to understand.