2 writes to _mouseSelectionState
PresentationFramework (2)
src\Framework\System\windows\Documents\TextEditor.cs (2)
534
_mouseSelectionState
= new MouseSelectionState();
557
_mouseSelectionState
= null;
17 references to _mouseSelectionState
PresentationFramework (17)
src\Framework\System\windows\Documents\TextEditor.cs (17)
532
if (
_mouseSelectionState
== null)
535
_mouseSelectionState
.Timer = new DispatcherTimer(DispatcherPriority.Normal);
536
_mouseSelectionState
.Timer.Tick += new EventHandler(HandleMouseSelectionTick);
539
_mouseSelectionState
.Timer.Interval = TimeSpan.FromMilliseconds(Math.Max(SystemParameters.MenuShowDelay, 200));
540
_mouseSelectionState
.Timer.Start();
541
_mouseSelectionState
.Point = point;
543
HandleMouseSelectionTick(
_mouseSelectionState
.Timer, EventArgs.Empty);
547
_mouseSelectionState
.Point = point;
553
if (
_mouseSelectionState
!= null)
555
_mouseSelectionState
.Timer.Stop();
556
_mouseSelectionState
.Timer.Tick -= new EventHandler(HandleMouseSelectionTick);
1504
if (
_mouseSelectionState
!= null && !
_mouseSelectionState
.BringIntoViewInProgress &&
1507
_mouseSelectionState
.BringIntoViewInProgress = true;
1509
this.TextView.BringPointIntoViewAsync(
_mouseSelectionState
.Point, this);
1528
if (
_mouseSelectionState
== null)
1532
_mouseSelectionState
.BringIntoViewInProgress = false;