1 write to _selection
PresentationFramework (1)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
493
_selection
= textContainer.TextSelection as ITextRange;
10 references to _selection
PresentationFramework (10)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (10)
494
if (
_selection
!= null)
507
if (HighlightAnchor.IsSelected(
_selection
))
519
if (
_selection
!= null)
601
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
606
_documentHandlers.Add(
_selection
, componentsRegister);
607
_selection
.Changed += componentsRegister.SelectionHandler;
626
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
631
_documentHandlers.Remove(
_selection
);
632
_selection
.Changed -= componentsRegister.SelectionHandler;
722
if ((HighlightAnchor != null) && HighlightAnchor.IsSelected(
_selection
))