private bool MatchContinuers(int qrToksIndex, List<string> continuersNeeded, int currentLevel)
{
for (int i = 0; i < continuersNeeded.Count; i++)
{
if ((qrToksIndex + i + 1 >= m_quotationRelatedTokens.Count) ||
(continuersNeeded[i] != m_quotationRelatedTokens[qrToksIndex + i + 1].Tts.Text))
{
return false;
}
QuotationMarkToken qmTok =
m_quotationRelatedTokens[qrToksIndex + i + 1] as QuotationMarkToken;
if (qmTok == null || !qmTok.PossibleContinuer)
return false;
GenerateTraceMsg(qmTok,
string.Format(Localize("Level {0} quote continuer"), qmTok.PossibleLevel));
}
return true;
}