title: Equivalent of selectionStart, selectionEnd, and focus() for contenteditable spans and divs
body: <p>I am trying to set a <code>contenteditable</code> span so that it will on the <code>onkeyup</code> event refill the span with formatted text.</p>
  
  <p>However, when I try this the cursor disappears and I can't type anymore. This is because the formatting program, instead of modifying the text already in the span, erases it all and then writes the formatted text in its place.</p>
  
  <p>It is important (I think it is) to note that the element does not appear to be losing focus. Also, because I would like for this project to remain fairly "secret" until it's release, I would rather not give away the source code right now.</p>