Corrected cmd behaviors, able to click to change caret position
Added alt arrow behavior, fix keyup behavior
Ensure caret visibility
Prevent crash using ensure_visible() helper
Prevent default spacebar scroll
Prevent paste spacebar bug