TerInsertLine
Insert a line of text before the current line.
boolean TerInsertLine( text, FontId, ParaId, CellId, reserved, repaint)
String text; | the 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. |
int CellId; | Cell id to use for this new text. Use -1 for the default value. When creating a table structure using this function, you must specify the current cell id for this parameter. |
int ParaFID; | Paragraph frame id. Use -1 for the default value. |
boolean repaint; | Repaint the window after this operation |
Description: This function provides a very fast method of inserting a line of text before the current line. After the insertion the cursor is moved to the first character of the next line. In a batch of calls to the TerInsertLine function, the 'repaint' argument should be set to true only for the last call to this function.
Return Value: This function returns true when successful.