Restore functionality of cut, copy, paste using new api.

Fix bug in willMoveH where it wasn't counting newline character.