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)
92
if (editor !=
_editor
)
98
if (
_editor
!= null)
101
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
112
if (editor ==
_editor
)
121
if (
_editor
!= null)
124
_editor
.TextContainer.Change -= new TextContainerChangeEventHandler(OnTextContainerChange);
133
_editor
.TextContainer.Change += new TextContainerChangeEventHandler(OnTextContainerChange);
144
if (
_editor
== null)
292
OnDetach(
_editor
);
510
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
611
startNavigator =
_editor
.Selection.Start.CreatePointer();
620
endNavigator =
_editor
.Selection.End.CreatePointer();
629
caretNavigator =
_editor
.Selection.End.CreatePointer();
720
view =
_editor
.TextView;
730
if (!
_editor
.Selection.End.HasValidLayout)
754
rectCaret = view.GetRectangleFromTextPosition(
_editor
.Selection.End.CreatePointer(LogicalDirection.Backward));
847
FrameworkTextComposition composition = TextStore.CreateComposition(
_editor
, this);
968
composition.SetCompositionPositions(
_editor
.Selection.Start,
_editor
.Selection.End, compositionString);
1082
_editor
.Selection.BeginChange();
1099
text = 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();
1326
range =
_editor
.Selection;
1517
ITextRange range =
_editor
.Selection;
1531
_editor
.Selection.Select(start, end);
1663
edge =
_editor
.TextContainer.Start.GetOffsetToPosition(positionCurrent);
1664
int startComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_startComposition);
1665
int endComposition =
_editor
.TextContainer.Start.GetOffsetToPosition(_endComposition);
1753
parent =
_editor
.TextContainer.Parent;
1765
_compositionUndoUnit = new TextParentUndoUnit(
_editor
.Selection);
1784
parent =
_editor
.TextContainer.Parent;
1849
get { return
_editor
.TextView == null ? null :
_editor
.TextView.RenderScope; }
1854
get { return (
_editor
== null) ? null :
_editor
.UiScope; }
1861
return ((bool)UiScope.GetValue(TextEditor.IsReadOnlyProperty) ||
_editor
.IsReadOnly);
1869
if (
_editor
== null)