It would be nice if the Start argument in insertText() and related functions was optional and defaulted to .getSelection()['start']
So one would not have to do
$('#foo').insertText('Bar', $('#foo').getSelection()['start']);
but simply
$('#foo').insertText('Bar');
to insert at current caret position.