Do you have an issue with the trackpad in Mac misbehaving while you were typing? Very often, it will move the cursor to another place (while you were typing) and inserted text in the wrong place. If you are using an external mouse, here is a quick way to disable Mac trackpad when it detects a connected mouse.