1 write to _selection
PresentationFramework (1)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
492
_selection
= textContainer.TextSelection as ITextRange;
10 references to _selection
PresentationFramework (10)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (10)
493
if (
_selection
!= null)
506
if (HighlightAnchor.IsSelected(
_selection
))
518
if (
_selection
!= null)
604
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
609
_documentHandlers.Add(
_selection
, componentsRegister);
610
_selection
.Changed += componentsRegister.SelectionHandler;
629
ComponentsRegister componentsRegister = (ComponentsRegister)_documentHandlers[
_selection
];
634
_documentHandlers.Remove(
_selection
);
635
_selection
.Changed -= componentsRegister.SelectionHandler;
725
if ((HighlightAnchor != null) && HighlightAnchor.IsSelected(
_selection
))