9 instantiations of HighlightSegment
PresentationFramework (9)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (9)
424
HighlightSegment temp = new
HighlightSegment
(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange);
435
_segments.Insert(ind++, new
HighlightSegment
(rangeSegment.Start, rangeSegment.End, highlightRange));
448
_segments.Insert(ind++, new
HighlightSegment
(rangeSegment.Start, rangeSegment.End, highlightRange));
454
_segments.Insert(ind++, new
HighlightSegment
(rangeEnumerator.Current.Start, rangeEnumerator.Current.End, highlightRange));
797
res.Add(new
HighlightSegment
(_segment.Start, ps, _owners));
798
res.Add(new
HighlightSegment
(ps, _segment.End, _owners));
826
res.Add(new
HighlightSegment
(_segment.Start, ps1, _owners));
830
res.Add(new
HighlightSegment
(ps1, ps1, _owners));
834
res.Add(new
HighlightSegment
(ps1, _segment.End, _owners));
22 references to HighlightSegment
PresentationFramework (22)
src\Framework\MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (20)
48
_segments = new List<
HighlightSegment
>();
138
HighlightSegment
highlightSegment = _segments[i];
254
HighlightSegment
highlightSegment = null;
368
HighlightSegment
highlightSegment = _segments[ind];
378
IList<
HighlightSegment
> res = highlightSegment.Split(rangeSegment.Start, rangeSegment.End, highlightRange);
424
HighlightSegment
temp = new HighlightSegment(rangeSegment.Start, highlightSegment.Segment.Start, highlightRange);
474
HighlightSegment
highlightSegment = _segments[i];
499
HighlightSegment
highlightSegment = _segments[i];
522
HighlightSegment
highlightSegment = _segments[i];
782
internal IList<
HighlightSegment
> Split(ITextPointer ps, LogicalDirection side)
784
IList<
HighlightSegment
> res = null;
790
res = new List<
HighlightSegment
>(1);
796
res = new List<
HighlightSegment
>(2);
812
internal IList<
HighlightSegment
> Split(ITextPointer ps1, ITextPointer ps2, IHighlightRange newOwner)
816
IList<
HighlightSegment
> res = new List<
HighlightSegment
>();
838
foreach (
HighlightSegment
seg in res)
845
IList<
HighlightSegment
> r1 = Split(ps1, LogicalDirection.Forward);
850
IList<
HighlightSegment
> r2 = r1[i].Split(ps2, LogicalDirection.Backward);
1250
List<
HighlightSegment
> _segments;
src\Framework\System\Windows\Documents\FixedDocument.cs (2)
1158
AnnotationHighlightLayer.
HighlightSegment
highlightSegment = highlights.GetHighlightValue(highlightRangeStart,
1159
LogicalDirection.Forward, typeof(HighlightComponent)) as AnnotationHighlightLayer.
HighlightSegment
;