BCGSoft Professional Editor for MFC
virtual void CBCGPEditCtrl::OnInsertTextToBuffer ( int  nStartOffset,
const CString &  strInsertedText,
BOOL  bUpdateLineData = TRUE 
)
virtual

Called when a piece of text is being inserted into the edit control.

The default implementation calculates the number of inserted lines and updates the relevant line-related data (markers).

Parameters
nStartOffsetOffset to insert at.
strInsertedTextInserted text.
bUpdateLineDataSpecifies whether to update line related data. For example, line related data (markers) is not updated when the entire text is replaced.