S
Sam
Currently, I try doing this:
private void wdDoc_XMLBeforeDelete(Word.Range DeletedRange, Word.XMLNode
OldXMLNode, bool InUndoRedo)
{
if (!InUndoRedo)
{
Thread undoThread = new Thread(new ThreadStart(this.undodelete));
undoThread.Start();
}
}
The problem occurs when there are many xml tags within revision bubbles. If
the user clicks "Accept All Changes", it runs this event for every xml tag
inside a revision bubble, and the code causes Word to hang for ever.
Is there a way to cancel the delete event, or halt execution of the "Accept
All Changes"?
Thank you
private void wdDoc_XMLBeforeDelete(Word.Range DeletedRange, Word.XMLNode
OldXMLNode, bool InUndoRedo)
{
if (!InUndoRedo)
{
Thread undoThread = new Thread(new ThreadStart(this.undodelete));
undoThread.Start();
}
}
The problem occurs when there are many xml tags within revision bubbles. If
the user clicks "Accept All Changes", it runs this event for every xml tag
inside a revision bubble, and the code causes Word to hang for ever.
Is there a way to cancel the delete event, or halt execution of the "Accept
All Changes"?
Thank you