EditableIF.insertText

Inserts @length bytes of @text into the contents of the widget, at position @position.

Note that the position is in characters, not in bytes. The function updates @position to point after the newly inserted text.

interface EditableIF
void
insertText
(
string text
,
int length
,
ref int position
)

Parameters

text string

the text to append

length int

the length of the text in bytes, or -1

position int

location of the position text will be inserted at

Meta