RobertMcCoy / CodeCollaborator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maintain user cursor location

RobertMcCoy opened this issue · comments

Currently if a user goes back in their text and enters a character their cursor location is shoved back to the end of the text area. The location before the value update should be saved and then restored.

If the caret is between the e and the s in "Testing" in the string ""Caret Testing 1 2 3" and...

  1. If another user types a letter after the S then the caret should stay in the same spot
  2. If another user types a letter before the S then the caret should increment by 1
  3. If another user removes a letter after the S then the caret should stay in the same spot
  4. If another user removes a letter before the S then the caret should de-increment by 1