insertText(QString)

Parent Previous Next

TwScript:   TW.target.insertText(QString)


Any text selected  in the editor will be replaced by supplied string.

If no text is sleceted the string is inserted at the cursor position.


Example:


TW.target.insertText("hello");



Created with the Personal Edition of HelpNDoc: Easily create iPhone documentation