Fix insert at caret
Add examples