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)
108if (editor != _editor) 114if (_editor != null) 117_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 128if (editor == _editor) 137if (_editor != null) 140_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 149_editor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 160if (_editor == null) 308OnDetach(_editor); 533FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 634startNavigator = _editor.Selection.Start.CreatePointer(); 643endNavigator = _editor.Selection.End.CreatePointer(); 652caretNavigator = _editor.Selection.End.CreatePointer(); 743view = _editor.TextView; 753if (!_editor.Selection.End.HasValidLayout) 777rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.End.CreatePointer(LogicalDirection.Backward)); 868FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 989composition.SetCompositionPositions(_editor.Selection.Start, _editor.Selection.End, compositionString); 1103_editor.Selection.BeginChange(); 1120text = 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(); 1347range = _editor.Selection; 1538ITextRange range = _editor.Selection; 1552_editor.Selection.Select(start, end); 1684edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1685int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1686int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition); 1774parent = _editor.TextContainer.Parent; 1786_compositionUndoUnit = new TextParentUndoUnit(_editor.Selection); 1805parent = _editor.TextContainer.Parent; 1870get { return _editor.TextView == null ? null : _editor.TextView.RenderScope; } 1875get { return (_editor == null) ? null : _editor.UiScope; } 1882return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly); 1890if (_editor == null)