26 references to TextRange
PresentationFramework (26)
MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
251
textRange = new
TextRange
(start, end);
System\Windows\Annotations\AnnotationHelper.cs (2)
689
ITextRange textRange = new
TextRange
(start, end);
958
ITextRange anchor = new
TextRange
(selection.Start, selection.End);
System\Windows\Controls\RichTextBox.cs (1)
251
return (spellingError == null) ? null : new
TextRange
(spellingError.Start, spellingError.End);
System\Windows\Controls\TextRangeAdaptor.cs (3)
641
ITextRange textRange = new
TextRange
(_start, _end);
853
ITextRange textRange = new
TextRange
(position, position);
1110
ITextRange paragraphRange = new
TextRange
(position, position);
System\Windows\Documents\ImmComposition.cs (1)
1343
range = new
TextRange
(_startComposition, _endComposition);
System\Windows\Documents\SpellerError.cs (1)
66
ITextRange range = new
TextRange
(_start, _end);
System\windows\Documents\TextEditorDragDrop.cs (1)
183
_dragSourceTextRange = new
TextRange
(selection.Start, selection.End);
System\windows\Documents\TextEditorSelection.cs (5)
137
ITextRange textRange = new
TextRange
(lineRange.Start, lineRange.End);
475
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
526
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
1332
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
1373
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
System\windows\Documents\TextEditorTyping.cs (2)
930
ITextRange textRange = new
TextRange
(This.Selection.Start, wordBoundary);
992
ITextRange textRange = new
TextRange
(wordBoundary, This.Selection.End);
System\Windows\Documents\TextFindEngine.cs (1)
283
return (new
TextRange
(startMatchPosition, endMatchPosition));
System\Windows\Documents\TextRange.cs (2)
61
this
((ITextPointer)position1, (ITextPointer)position2)
83
this
((ITextPointer)position1, (ITextPointer)position2)
System\Windows\Documents\TextRangeBase.cs (1)
295
TextRange range = new
TextRange
(thisRange.Start, nextPosition);
System\Windows\Documents\TextRangeSerialization.cs (1)
368
ITextRange textRange = new
TextRange
(textSegment.Start, textSegment.End);
System\windows\Documents\TextSelection.cs (2)
43
:
base
(textEditor.TextContainer.Start, textEditor.TextContainer.Start)
1299
new
TextRange
(autoWordRange.Start, autoWordRange.End).ApplyPropertyValue(formattingProperty, value);
System\Windows\Documents\TextStore.cs (2)
685
ITextRange range = new
TextRange
(this.TextSelection.AnchorPosition, this.TextSelection.MovingPosition);
1271
TextRange range = new
TextRange
(start, end);