1 write to _selection
PresentationFramework (1)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
499
_selection
= textContainer.TextSelection as ITextRange;
10 references to _selection
PresentationFramework (10)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (10)
500
if (
_selection
!= null)
513
if (HighlightAnchor.IsSelected(
_selection
))
525
if (
_selection
!= null)
607
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
612
_documentHandlers.Add(
_selection
, componentsRegister);
613
_selection
.Changed += componentsRegister.SelectionHandler;
632
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
637
_documentHandlers.Remove(
_selection
);
638
_selection
.Changed -= componentsRegister.SelectionHandler;
728
if ((HighlightAnchor != null) && HighlightAnchor.IsSelected(
_selection
))