trichview.support
Re: Detecting the source of rviaMovingToUndoList |
Author |
Message |
Sergey Tkachenko |
Posted: 06/10/2004 22:16:10 Hmm... Not sure if it's 100% reliable, but you can check if undo grouping mode is turned on: TRVEditRVData(RVEdit.RVData).UndoList.GroupModeCount>0 If yes, this deletion is a part of larger operation. But be careful. For example, if table is deleted, this event is called for each item in each table cell. > > I want to perform additional actions in response to OnItemAction, in particular > to replace text being deleted by some "default" text. There is only one little > problem - I could not distinguish whether rviaMovingToUndoList is caused > by text deletion or by text replacement. What would be the recommended way > of doing so? |
Powered by ABC Amber Outlook Express Converter