SECEditController::m_pLastCmd

SECEditCommand* SECEditController::m_pLastCmd

Holds a pointer to the last command that was generated by the last typing command. Used when a character is typed in the OnChar handler. When possible, Objective Edit groups the characters together into a single command that may be undone with a single undo operation. For example, the following line:

this is a test

would be undone as 7 operations; one for each of the 4 words, and the three spaces.

Developer Notes

This member is an internal implementation detail of SECEditController and may be subject to change in future versions.