TE Edit Control Java / HTML-JavaScript Help
Product page

TerInsertText

Insert text at the cursor position.

boolean TerInsertText( text, FontId, ParaId, repaint)
String text;the text to be inserted.
int FontId;font id to use for the new text. Use -1 for the default value.
int ParaId;paragraph id to use for the new text. Use -1 for the default value.
boolean repaint;Repaint the window after this operation

Description: This function inserts the specified text at the current cursor position. After the operation the cursor is positioned after the inserted text.

Return Value: This function returns true when successful.