2 writes to _editor
PresentationFramework (2)
System\Windows\Documents\ImmComposition.cs (2)
103
_editor
= null;
127
_editor
= editor;
40 references to _editor
PresentationFramework (40)
System\Windows\Documents\ImmComposition.cs (40)
91
if (editor !=
_editor
)
97
if (
_editor
!= null)
100
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
111
if (editor ==
_editor
)
120
if (
_editor
!= null)
123
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
132
_editor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
143
if (
_editor
== null)
288
OnDetach(
_editor
);
506
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
607
startNavigator =
_editor
.Selection.Start.CreatePointer();
616
endNavigator =
_editor
.Selection.End.CreatePointer();
625
caretNavigator =
_editor
.Selection.End.CreatePointer();
716
view =
_editor
.TextView;
726
if (!
_editor
.Selection.End.HasValidLayout)
750
rectCaret = view.GetRectangleFromTextPosition(
_editor
.Selection.End.CreatePointer(LogicalDirection.Backward));
840
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
961
composition.SetCompositionPositions(
_editor
.Selection.Start,
_editor
.Selection.End, compositionString);
1075
_editor
.Selection.BeginChange();
1092
text = this.
_editor
._FilterText(composition.Text, range);
1109
_editor
.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
1122
_editor
.Selection.Select(caretPosition, caretPosition);
1130
_editor
.Selection.EndChange();
1165
_compositionAdorner = new CompositionAdorner(
_editor
.TextView);
1166
_compositionAdorner.Initialize(
_editor
.TextView);
1234
_editor
.TextView.RenderScope.UpdateLayout();
1319
range =
_editor
.Selection;
1510
ITextRange range =
_editor
.Selection;
1524
_editor
.Selection.Select(start, end);
1656
edge =
_editor
.TextContainer.Start.GetOffsetToPosition(positionCurrent);
1657
int startComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_startComposition);
1658
int endComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_endComposition);
1746
parent =
_editor
.TextContainer.Parent;
1758
_compositionUndoUnit = new TextParentUndoUnit(
_editor
.Selection);
1777
parent =
_editor
.TextContainer.Parent;
1842
get { return
_editor
.TextView?.RenderScope; }
1847
get { return
_editor
?.UiScope; }
1854
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) ||
_editor
.IsReadOnly);
1862
if (
_editor
== null)