ISECEditBuffer::Insert
BOOLISECEditBuffer::Insert(intnLine, intnCol, LPCTSTRlpszText, intnLength= -1, int*pEndLine= NULL, int*pEndCol= NULL)
Inserts text into the buffer.
Defined in: ISECEditBuffer.h
Return Value
Returns non-zero if the insert succeeded; otherwise 0.
Parameters
nLine
The line index on which to insert the new text.
nCol
The column index on the line to insert the new text.
lpszText
Points to the text to be inserted into the buffer.
Comments
Insert nLength TCHARs of lpszText at the given line and column index positions. If nLength is -1, inserts up to the terminating NULL. The line and column positions are zero based indices.nLength
The number of characters to insert, or -1 to insert the text up to a terminating NULL.
pEndLine
Output parameter. Points to the line index on which the newly inserted text stops.
pEndCol
Output parameter. Points to the column index just following the newly inserted text.
See Also