2 writes to _editor
PresentationFramework (2)
System\Windows\Documents\ImmComposition.cs (2)
120
_editor
= null;
144
_editor
= editor;
42 references to _editor
PresentationFramework (42)
System\Windows\Documents\ImmComposition.cs (42)
108
if (editor !=
_editor
)
114
if (
_editor
!= null)
117
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
128
if (editor ==
_editor
)
137
if (
_editor
!= null)
140
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
149
_editor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
160
if (
_editor
== null)
308
OnDetach(
_editor
);
533
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
634
startNavigator =
_editor
.Selection.Start.CreatePointer();
643
endNavigator =
_editor
.Selection.End.CreatePointer();
652
caretNavigator =
_editor
.Selection.End.CreatePointer();
743
view =
_editor
.TextView;
753
if (!
_editor
.Selection.End.HasValidLayout)
777
rectCaret = view.GetRectangleFromTextPosition(
_editor
.Selection.End.CreatePointer(LogicalDirection.Backward));
868
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
989
composition.SetCompositionPositions(
_editor
.Selection.Start,
_editor
.Selection.End, compositionString);
1103
_editor
.Selection.BeginChange();
1120
text = this.
_editor
._FilterText(composition.Text, range);
1137
_editor
.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
1150
_editor
.Selection.Select(caretPosition, caretPosition);
1158
_editor
.Selection.EndChange();
1193
_compositionAdorner = new CompositionAdorner(
_editor
.TextView);
1194
_compositionAdorner.Initialize(
_editor
.TextView);
1262
_editor
.TextView.RenderScope.UpdateLayout();
1347
range =
_editor
.Selection;
1538
ITextRange range =
_editor
.Selection;
1552
_editor
.Selection.Select(start, end);
1684
edge =
_editor
.TextContainer.Start.GetOffsetToPosition(positionCurrent);
1685
int startComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_startComposition);
1686
int endComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_endComposition);
1774
parent =
_editor
.TextContainer.Parent;
1786
_compositionUndoUnit = new TextParentUndoUnit(
_editor
.Selection);
1805
parent =
_editor
.TextContainer.Parent;
1870
get { return
_editor
.TextView == null ? null :
_editor
.TextView.RenderScope; }
1875
get { return (
_editor
== null) ? null :
_editor
.UiScope; }
1882
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) ||
_editor
.IsReadOnly);
1890
if (
_editor
== null)