9 instantiations of HighlightSegment
PresentationFramework (9)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (9)
415
HighlightSegment temp = new
HighlightSegment
(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange);
425
_segments.Insert(ind++, new
HighlightSegment
(rangeSegment.Start, rangeSegment.End, highlightRange));
437
_segments.Insert(ind++, new
HighlightSegment
(rangeSegment.Start, rangeSegment.End, highlightRange));
443
_segments.Insert(ind++, new
HighlightSegment
(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange));
782
res.Add(new
HighlightSegment
(_segment.Start, ps, _owners));
783
res.Add(new
HighlightSegment
(ps, _segment.End, _owners));
811
res.Add(new
HighlightSegment
(_segment.Start, ps1, _owners));
815
res.Add(new
HighlightSegment
(ps1, ps1, _owners));
819
res.Add(new
HighlightSegment
(ps1, _segment.End, _owners));
22 references to HighlightSegment
PresentationFramework (22)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (20)
44
_segments = new List<
HighlightSegment
>();
133
HighlightSegment
highlightSegment = _segments[i];
247
HighlightSegment
highlightSegment = null;
360
HighlightSegment
highlightSegment = _segments[ind];
370
IList<
HighlightSegment
> res = highlightSegment.Split(rangeSegment.Start, rangeSegment.End, highlightRange);
415
HighlightSegment
temp = new HighlightSegment(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange);
463
HighlightSegment
highlightSegment = _segments[i];
487
HighlightSegment
highlightSegment = _segments[i];
509
HighlightSegment
highlightSegment = _segments[i];
767
internal IList<
HighlightSegment
> Split(ITextPointer ps, LogicalDirection side)
769
IList<
HighlightSegment
> res = null;
775
res = new List<
HighlightSegment
>(1);
781
res = new List<
HighlightSegment
>(2);
797
internal IList<
HighlightSegment
> Split(ITextPointer ps1, ITextPointer ps2, IHighlightRange newOwner)
801
IList<
HighlightSegment
> res = new List<
HighlightSegment
>();
823
foreach (
HighlightSegment
seg in res)
830
IList<
HighlightSegment
> r1 = Split(ps1, LogicalDirection.Forward);
835
IList<
HighlightSegment
> r2 = r1[i].Split(ps2, LogicalDirection.Backward);
1228
List<
HighlightSegment
> _segments;
System\Windows\Documents\FixedDocument.cs (2)
1122
AnnotationHighlightLayer.
HighlightSegment
highlightSegment = highlights.GetHighlightValue(highlightRangeStart,
1123
LogicalDirection.Forward, typeof(HighlightComponent)) as AnnotationHighlightLayer.
HighlightSegment
;