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); }
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); }