ether/etherpad-lite — pull request #1505 by JohnMcLear (2013-02-12 00:09:56+00:00)
Title: very simple fix that might break other things but stops the caret focus ...

...being moved to the end of new lines when a long string without spaces is pasted into a pad

Resolves https://github.com/ether/etherpad-lite/issues/762

Only tested in Chrome and I had a few drinks this evening so please double check it.