1 implementation of IHighlightRange
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
25
internal class HighlightComponent : Canvas, IAnnotationComponent,
IHighlightRange
32 references to IHighlightRange
PresentationFramework (32)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (22)
66
internal void AddRange(
IHighlightRange
highlightRange)
108
internal void RemoveRange(
IHighlightRange
highlightRange)
152
internal void ModifiedRange(
IHighlightRange
highlightRange)
187
internal void ActivateRange(
IHighlightRange
highlightRange, bool activate)
338
private void ProcessOverlapingSegments(
IHighlightRange
highlightRange, out ITextPointer invalidateStart, out ITextPointer invalidateEnd)
602
internal HighlightSegment(ITextPointer start, ITextPointer end,
IHighlightRange
owner)
605
List<
IHighlightRange
> list = new List<
IHighlightRange
>(1);
618
internal HighlightSegment(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
622
_owners = new List<
IHighlightRange
>(owners.Count);
633
private void Init(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
665
internal void AddOwner(
IHighlightRange
owner)
689
internal int RemoveOwner(
IHighlightRange
owner)
707
internal void AddActiveOwner(
IHighlightRange
owner)
722
private void AddActiveOwners(List<
IHighlightRange
> owners)
733
internal void RemoveActiveOwner(
IHighlightRange
owner)
789
internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2,
IHighlightRange
newOwner)
1146
internal
IHighlightRange
TopOwner
1197
private readonly List<
IHighlightRange
> _owners;
1198
private List<
IHighlightRange
> _activeOwners = new List<
IHighlightRange
>();
1199
private
IHighlightRange
_cachedTopOwner = null;
MS\Internal\Annotations\Component\HighlightComponent.cs (7)
358
void
IHighlightRange
.AddChild(Shape child)
368
void
IHighlightRange
.RemoveChild(Shape child)
385
Color
IHighlightRange
.Background
396
Color
IHighlightRange
.SelectedBackground
407
TextAnchor
IHighlightRange
.Range
418
int
IHighlightRange
.Priority
429
bool
IHighlightRange
.HighlightContent
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
650
if ((HighlightAnchor == null) || !(HighlightAnchor is
IHighlightRange
))
655
TextAnchor anchor = ((
IHighlightRange
)HighlightAnchor).Range;
707
IHighlightRange
range = _highlightAnchor;