BCGSuite for MFC
virtual void CBCGPEditCtrl::AddUndoAction ( BCGP_EDIT_UNDO_ACTION pUndoAction)
virtual

Adds undo action to the undo buffer.

Called by the edit control when there is a need to add an undo action to the undo buffer. Currently, the following actions are stored in the undo buffer:

  • insert text or character
  • delete text or character
  • text indentation
Parameters
pUndoActionSpecifies an undo action structure to be stored in the undo buffer.