ccschmitz/commentator — pull request #2 by zgohr (2013-05-28 21:46:18+00:00)
Title: Removed all dependencies aside from Rangy, a project that serializes tex...

...t selections in a few different ways, the newest method it uses is character counting. Turns out this is a very tough problem that hasnt really been solved as far as I can tell, but it looks like rangy is close. Text selections deserialized on IE or created on IE (tested on IE9) are off by a few characters. Safari, Firefox, and Chrome (all mac) can recreate a text selection successfully in my test.

I didn't touch more of the workflow because I was more interested in the intricacies of serializing and deserializing text selections. Another prototype commit.