public void ReplaceAll(IEnumerable<EditableRun> textRuns) { this.Clear(); this.LocalSuspendLineReArrange(); foreach (EditableRun r in textRuns) { this.AddLast(r); } this.LocalResumeLineReArrange(); } }