BCGControlBar Pro for MFC
virtual void CBCGPEditCtrl::OnDeleteTextFromBuffer ( int  nStartOffset,
int  nEndOffset,
LPCTSTR  lpcszDeletedText 

Called by the framework when text is deleted from the edit control.

The default implementation determines how many lines is being deleted and updates line related information (for markers).

nStartOffsetSpecifies the start offset of the deleted text.
nEndOffsetSpecifies the end offset of the deleted text.
lpcszDeletedTextIf this value is NULL, the text is taken from the text buffer (m_strText) according to nStartOffset and nEndOffset. Otherwise, the specified string is taken and the start/end offsets are ignored.