Posted 19 years ago
by Marianne
When trying to get the deleted token text like so:
It only ends up giving me the text at the location formerly occupied by the token, but now that it's deleted the document.GetTokenText() method does not give me the deleted tokens text. How can I retrieve the deleted token's text? Thanks.
foreach (Token t in document.Tokens.DeletedTokens)
{
if (t.Key == "VariableDefinitionToken")
Console.WriteLine("Def deleted: " + document.GetTokenText(t));
}
------------------------------- Marianne