2 writes to _editor
PresentationFramework (2)
System\Windows\Documents\ImmComposition.cs (2)
104_editor = null; 128_editor = editor;
42 references to _editor
PresentationFramework (42)
System\Windows\Documents\ImmComposition.cs (42)
92if (editor != _editor) 98if (_editor != null) 101_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 112if (editor == _editor) 121if (_editor != null) 124_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 133_editor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 144if (_editor == null) 292OnDetach(_editor); 510FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 611startNavigator = _editor.Selection.Start.CreatePointer(); 620endNavigator = _editor.Selection.End.CreatePointer(); 629caretNavigator = _editor.Selection.End.CreatePointer(); 720view = _editor.TextView; 730if (!_editor.Selection.End.HasValidLayout) 754rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.End.CreatePointer(LogicalDirection.Backward)); 847FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 968composition.SetCompositionPositions(_editor.Selection.Start, _editor.Selection.End, compositionString); 1082_editor.Selection.BeginChange(); 1099text = this._editor._FilterText(composition.Text, range); 1116_editor.SetText(range, text, InputLanguageManager.Current.CurrentInputLanguage); 1129_editor.Selection.Select(caretPosition, caretPosition); 1137_editor.Selection.EndChange(); 1172_compositionAdorner = new CompositionAdorner(_editor.TextView); 1173_compositionAdorner.Initialize(_editor.TextView); 1241_editor.TextView.RenderScope.UpdateLayout(); 1326range = _editor.Selection; 1517ITextRange range = _editor.Selection; 1531_editor.Selection.Select(start, end); 1663edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1664int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1665int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition); 1753parent = _editor.TextContainer.Parent; 1765_compositionUndoUnit = new TextParentUndoUnit(_editor.Selection); 1784parent = _editor.TextContainer.Parent; 1849get { return _editor.TextView == null ? null : _editor.TextView.RenderScope; } 1854get { return (_editor == null) ? null : _editor.UiScope; } 1861return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly); 1869if (_editor == null)