Set the insertion cursor of the items given by tagOrId to just before the character given by index. Items that do not support an insertion cursor are unaffected. The cursor is only displayed when the item has the focus, but its position may be set at any time.