9 instantiations of HighlightSegment
PresentationFramework (9)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (9)
408HighlightSegment temp = new HighlightSegment(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange); 418_segments.Insert(ind++, new HighlightSegment(rangeSegment.Start, rangeSegment.End, highlightRange)); 430_segments.Insert(ind++, new HighlightSegment(rangeSegment.Start, rangeSegment.End, highlightRange)); 436_segments.Insert(ind++, new HighlightSegment(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange)); 775res.Add(new HighlightSegment(_segment.Start, ps, _owners)); 776res.Add(new HighlightSegment(ps, _segment.End, _owners)); 804res.Add(new HighlightSegment(_segment.Start, ps1, _owners)); 808res.Add(new HighlightSegment(ps1, ps1, _owners)); 812res.Add(new HighlightSegment(ps1, _segment.End, _owners));
22 references to HighlightSegment
PresentationFramework (22)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (20)
37_segments = new List<HighlightSegment>(); 126HighlightSegment highlightSegment = _segments[i]; 240HighlightSegment highlightSegment = null; 353HighlightSegment highlightSegment = _segments[ind]; 363IList<HighlightSegment> res = highlightSegment.Split(rangeSegment.Start, rangeSegment.End, highlightRange); 408HighlightSegment temp = new HighlightSegment(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange); 456HighlightSegment highlightSegment = _segments[i]; 480HighlightSegment highlightSegment = _segments[i]; 502HighlightSegment highlightSegment = _segments[i]; 760internal IList<HighlightSegment> Split(ITextPointer ps, LogicalDirection side) 762IList<HighlightSegment> res = null; 768res = new List<HighlightSegment>(1); 774res = new List<HighlightSegment>(2); 790internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2, IHighlightRange newOwner) 794IList<HighlightSegment> res = new List<HighlightSegment>(); 816foreach (HighlightSegment seg in res) 823IList<HighlightSegment> r1 = Split(ps1, LogicalDirection.Forward); 828IList<HighlightSegment> r2 = r1[i].Split(ps2, LogicalDirection.Backward); 1221List<HighlightSegment> _segments;
System\Windows\Documents\FixedDocument.cs (2)
1111AnnotationHighlightLayer.HighlightSegment highlightSegment = highlights.GetHighlightValue(highlightRangeStart, 1112LogicalDirection.Forward, typeof(HighlightComponent)) as AnnotationHighlightLayer.HighlightSegment;