Are there any methods available in ExtJS4 to get the selection range, find cursor position and insert at cursor position/selection. I was looking for this method to wrap common HTML/BBCode tags around the selection/cursor position. I can see "insertAtCursor" method in HTMLEditor but not in TextArea or simple Text field.