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)
135if (editor != _editor) 141if (_editor != null) 144_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 161if (editor == _editor) 170if (_editor != null) 173_editor.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange); 182_editor.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange); 193if (_editor == null) 372OnDetach(_editor); 624FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 730startNavigator = _editor.Selection.Start.CreatePointer(); 739endNavigator = _editor.Selection.End.CreatePointer(); 748caretNavigator = _editor.Selection.End.CreatePointer(); 854view = _editor.TextView; 865if (!_editor.Selection.End.HasValidLayout) 889rectCaret = view.GetRectangleFromTextPosition(_editor.Selection.End.CreatePointer(LogicalDirection.Backward)); 985FrameworkTextComposition composition = TextStore.CreateComposition(_editor, this); 1111composition.SetCompositionPositions(_editor.Selection.Start, _editor.Selection.End, compositionString); 1235_editor.Selection.BeginChange(); 1252text = 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(); 1488range = _editor.Selection; 1689ITextRange range = _editor.Selection; 1703_editor.Selection.Select(start, end); 1858edge = _editor.TextContainer.Start.GetOffsetToPosition(positionCurrent); 1859int startComposition = _editor.TextContainer.Start.GetOffsetToPosition(_startComposition); 1860int endComposition = _editor.TextContainer.Start.GetOffsetToPosition(_endComposition); 1964parent = _editor.TextContainer.Parent; 1976_compositionUndoUnit = new TextParentUndoUnit(_editor.Selection); 1995parent = _editor.TextContainer.Parent; 2060get { return _editor.TextView == null ? null : _editor.TextView.RenderScope; } 2065get { return (_editor == null) ? null : _editor.UiScope; } 2072return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) || _editor.IsReadOnly); 2080if (_editor == null)