TE Edit Control Java / HTML-JavaScript Help
Product page

TerAppendText

Append specified text at the end of the buffer.

boolean TerAppendText( text, FontId, ParaId, repaint)
String text; String containing text to be appended.
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 adds the specified text at the end of the buffer. The current cursor position does not change after the insertion.

This is a very efficient function which can be used to rapidly build a document. This function does not attempt to wrap the text as they are being added. Your application should call the TerRewrap or TerRepaginate functions after making a series of calls to this function.

Return Value: This function returns true when successful.