EditableIF.insertText

Inserts @new_text_length bytes of @new_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 newText
,,
ref int position
)

Parameters

newText string

the text to append

newTextLength int

the length of the text in bytes, or -1

position int

location of the position text will be inserted at

Meta