// Called by the DocumentSequenceTextContainer to communicate changes to its highlight layer 
 // to the FixedDocumentTextContainer which contains this layer.
 internal void RaiseHighlightChangedEvent(IList ranges) 
 { 
     DocumentsTrace.FixedDocumentSequence.Highlights.Trace(string.Format("DSHL.RaiseHighlightChangedEvent ranges={0}", ranges.Count));
     Debug.Assert(ranges.Count > 0); 
     if (this.Changed != null)
     {
         DocumentSequenceHighlightChangedEventArgs args;
         args = new DocumentSequenceHighlightChangedEventArgs(ranges); 
         this.Changed(this, args);
     } 
 } 
 // Called by the DocumentSequenceTextContainer to communicate changes to its highlight layer
 // to the FixedDocumentTextContainer which contains this layer.
 internal void RaiseHighlightChangedEvent(IList ranges)
 {
     DocumentsTrace.FixedDocumentSequence.Highlights.Trace(string.Format("DSHL.RaiseHighlightChangedEvent ranges={0}", ranges.Count));
     Debug.Assert(ranges.Count > 0);
     if (this.Changed != null)
     {
         DocumentSequenceHighlightChangedEventArgs args;
         args = new DocumentSequenceHighlightChangedEventArgs(ranges);
         this.Changed(this, args);
     }
 }