1 implementation of IHighlightRange
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
26
internal class HighlightComponent : Canvas, IAnnotationComponent,
IHighlightRange
32 references to IHighlightRange
PresentationFramework (32)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (22)
67
internal void AddRange(
IHighlightRange
highlightRange)
109
internal void RemoveRange(
IHighlightRange
highlightRange)
153
internal void ModifiedRange(
IHighlightRange
highlightRange)
188
internal void ActivateRange(
IHighlightRange
highlightRange, bool activate)
339
private void ProcessOverlapingSegments(
IHighlightRange
highlightRange, out ITextPointer invalidateStart, out ITextPointer invalidateEnd)
603
internal HighlightSegment(ITextPointer start, ITextPointer end,
IHighlightRange
owner)
606
List<
IHighlightRange
> list = new List<
IHighlightRange
>(1);
619
internal HighlightSegment(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
623
_owners = new List<
IHighlightRange
>(owners.Count);
634
private void Init(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
666
internal void AddOwner(
IHighlightRange
owner)
690
internal int RemoveOwner(
IHighlightRange
owner)
708
internal void AddActiveOwner(
IHighlightRange
owner)
723
private void AddActiveOwners(List<
IHighlightRange
> owners)
734
internal void RemoveActiveOwner(
IHighlightRange
owner)
790
internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2,
IHighlightRange
newOwner)
1150
internal
IHighlightRange
TopOwner
1201
private readonly List<
IHighlightRange
> _owners;
1202
private List<
IHighlightRange
> _activeOwners = new List<
IHighlightRange
>();
1203
private
IHighlightRange
_cachedTopOwner = null;
MS\Internal\Annotations\Component\HighlightComponent.cs (7)
359
void
IHighlightRange
.AddChild(Shape child)
369
void
IHighlightRange
.RemoveChild(Shape child)
386
Color
IHighlightRange
.Background
397
Color
IHighlightRange
.SelectedBackground
408
TextAnchor
IHighlightRange
.Range
419
int
IHighlightRange
.Priority
430
bool
IHighlightRange
.HighlightContent
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
647
if ((HighlightAnchor == null) || !(HighlightAnchor is
IHighlightRange
))
652
TextAnchor anchor = ((
IHighlightRange
)HighlightAnchor).Range;
704
IHighlightRange
range = _highlightAnchor;