2 writes to _editor
PresentationFramework (2)
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
147
_editor
= null;
177
_editor
= editor;
42 references to _editor
PresentationFramework (42)
src\Framework\System\Windows\Documents\ImmComposition.cs (42)
135
if (editor !=
_editor
)
141
if (
_editor
!= null)
144
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
161
if (editor ==
_editor
)
170
if (
_editor
!= null)
173
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
182
_editor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
193
if (
_editor
== null)
372
OnDetach(
_editor
);
624
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
730
startNavigator =
_editor
.Selection.Start.CreatePointer();
739
endNavigator =
_editor
.Selection.End.CreatePointer();
748
caretNavigator =
_editor
.Selection.End.CreatePointer();
854
view =
_editor
.TextView;
865
if (!
_editor
.Selection.End.HasValidLayout)
889
rectCaret = view.GetRectangleFromTextPosition(
_editor
.Selection.End.CreatePointer(LogicalDirection.Backward));
985
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
1111
composition.SetCompositionPositions(
_editor
.Selection.Start,
_editor
.Selection.End, compositionString);
1235
_editor
.Selection.BeginChange();
1252
text = this.
_editor
._FilterText(composition.Text, range);
1269
_editor
.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage);
1282
_editor
.Selection.Select(caretPosition, caretPosition);
1290
_editor
.Selection.EndChange();
1325
_compositionAdorner = new CompositionAdorner(
_editor
.TextView);
1326
_compositionAdorner.Initialize(
_editor
.TextView);
1394
_editor
.TextView.RenderScope.UpdateLayout();
1488
range =
_editor
.Selection;
1689
ITextRange range =
_editor
.Selection;
1703
_editor
.Selection.Select(start, end);
1858
edge =
_editor
.TextContainer.Start.GetOffsetToPosition(positionCurrent);
1859
int startComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_startComposition);
1860
int endComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_endComposition);
1964
parent =
_editor
.TextContainer.Parent;
1976
_compositionUndoUnit = new TextParentUndoUnit(
_editor
.Selection);
1995
parent =
_editor
.TextContainer.Parent;
2060
get { return
_editor
.TextView == null ? null :
_editor
.TextView.RenderScope; }
2065
get { return (
_editor
== null) ? null :
_editor
.UiScope; }
2072
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) ||
_editor
.IsReadOnly);
2080
if (
_editor
== null)