示例#1
0
 protected string GetText(Change change)
 {
     StringBuilder bld = new StringBuilder();
     foreach (TextRun tr in change.Content)
     {
         bld.Append(tr.Content);
     }
     return bld.ToString();
 }
 private bool ShouldProcess(Change ch)
 {
     return m_changeTypeSelector(ch.Type);
 }
示例#3
0
        bool ISurroundingTextVisitor.ShouldHighlightChange(Change ch)
        {
            if (m_si == null)
                return true;

            return ch.Number >= m_si.FirstChangeNumber && ch.Number <= m_si.LastChangeNumber;
        }
 public bool ShouldHighlightChange(Change ch)
 {
     return m_isi.Changes.Contains(ch);
 }