more insertAtCaret support