1 write to _selection
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
514
_selection
= textContainer.TextSelection as ITextRange;
10 references to _selection
PresentationFramework (10)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (10)
515
if (
_selection
!= null)
528
if (HighlightAnchor.IsSelected(
_selection
))
541
if (
_selection
!= null)
627
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
632
_documentHandlers.Add(
_selection
, componentsRegister);
633
_selection
.Changed += componentsRegister.SelectionHandler;
653
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
658
_documentHandlers.Remove(
_selection
);
659
_selection
.Changed -= componentsRegister.SelectionHandler;
750
if ((HighlightAnchor != null) && HighlightAnchor.IsSelected(
_selection
))