1 implementation of IHighlightRange
PresentationFramework (1)
MS\Internal\Annotations\Component\HighlightComponent.cs (1)
34
internal class HighlightComponent : Canvas, IAnnotationComponent,
IHighlightRange
32 references to IHighlightRange
PresentationFramework (32)
MS\Internal\Annotations\Component\AnnotationHighlightLayer.cs (22)
74
internal void AddRange(
IHighlightRange
highlightRange)
116
internal void RemoveRange(
IHighlightRange
highlightRange)
160
internal void ModifiedRange(
IHighlightRange
highlightRange)
195
internal void ActivateRange(
IHighlightRange
highlightRange, bool activate)
346
private void ProcessOverlapingSegments(
IHighlightRange
highlightRange, out ITextPointer invalidateStart, out ITextPointer invalidateEnd)
610
internal HighlightSegment(ITextPointer start, ITextPointer end,
IHighlightRange
owner)
613
List<
IHighlightRange
> list = new List<
IHighlightRange
>(1);
626
internal HighlightSegment(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
630
_owners = new List<
IHighlightRange
>(owners.Count);
641
private void Init(ITextPointer start, ITextPointer end, IList<
IHighlightRange
> owners)
673
internal void AddOwner(
IHighlightRange
owner)
697
internal int RemoveOwner(
IHighlightRange
owner)
715
internal void AddActiveOwner(
IHighlightRange
owner)
730
private void AddActiveOwners(List<
IHighlightRange
> owners)
741
internal void RemoveActiveOwner(
IHighlightRange
owner)
797
internal IList<HighlightSegment> Split(ITextPointer ps1, ITextPointer ps2,
IHighlightRange
newOwner)
1157
internal
IHighlightRange
TopOwner
1208
private readonly List<
IHighlightRange
> _owners;
1209
private List<
IHighlightRange
> _activeOwners = new List<
IHighlightRange
>();
1210
private
IHighlightRange
_cachedTopOwner = null;
MS\Internal\Annotations\Component\HighlightComponent.cs (7)
367
void
IHighlightRange
.AddChild(Shape child)
377
void
IHighlightRange
.RemoveChild(Shape child)
394
Color
IHighlightRange
.Background
405
Color
IHighlightRange
.SelectedBackground
416
TextAnchor
IHighlightRange
.Range
427
int
IHighlightRange
.Priority
438
bool
IHighlightRange
.HighlightContent
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
653
if ((HighlightAnchor == null) || !(HighlightAnchor is
IHighlightRange
))
658
TextAnchor anchor = ((
IHighlightRange
)HighlightAnchor).Range;
710
IHighlightRange
range = _highlightAnchor;