Prevent concurrent edit requests for one element
vfaronov opened this issue · comments
Thanks for the nice extension!
One problem: If I focus a textarea and click Edit in Emacs twice, I get two outstanding requests to the edit server. This means I’m editing the same text in two different buffers. This makes it rather easy to lose track of what’s happening. I often need to work on multiple complex pieces of text at a time, switching between different pages, windows, etc.
I wish there was an option to make it clear for a particular textarea that an edit request is outstanding and/or prevent further requests until that one finishes. Perhaps some kind of visual overlay/mask over the element that is being edited.
I think we should be able to track the connection somehow. There is a little bit of funkiness as the edit request is sent by the "background process" so is one step removed from the extension running on the page.