Support for insertText