|
|
Yes, that does tend to happen. I think it's when other people are using it at the same time, and the word count gets changed by someone else's insertion while you're writing yours.
I originally considered having each link include a couple neighbouring words as parameters, allowing me to do some kind of server-side near-miss context-match, which would automatically re-align insertions in that case. But I didn't end up doing that, and set the code aside.
Before I put it up again this time I added the "rooms", which are pretty cool. I might do this aligning dealie too, eventually. In fact, now this idea is forming in my head which involves assigning each between-word space a special hash, and including that hash as a parameter in the link for that space, allowing the insertion to be made between the right two words (or at the right point) regardless of what went on in the meantime... maybe... I'd have to think about how those points would collide, and... :O
See, the reason I haven't coded a solution for this is that I'm not entirely certain it's tractable. I think it may be One Of Those Problems That Turn Out To Be Much Harder Than They Sound Like They Should Be.
What do you think? |
|
|