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