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