25 references to TextRange
PresentationFramework (25)
src\Framework\MS\Internal\Annotations\Anchoring\TextViewSelectionProcessor.cs (1)
257
textRange = new
TextRange
(start, end);
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
696
ITextRange textRange = new
TextRange
(start, end);
966
ITextRange anchor = new
TextRange
(selection.Start, selection.End);
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
259
return (spellingError == null) ? null : new
TextRange
(spellingError.Start, spellingError.End);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (3)
649
ITextRange textRange = new
TextRange
(_start, _end);
861
ITextRange textRange = new
TextRange
(position, position);
1119
ITextRange paragraphRange = new
TextRange
(position, position);
src\Framework\System\Windows\Documents\ImmComposition.cs (1)
1484
range = new
TextRange
(_startComposition, _endComposition);
src\Framework\System\Windows\Documents\SpellerError.cs (1)
66
ITextRange range = new
TextRange
(_start, _end);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
194
_dragSourceTextRange = new
TextRange
(selection.Start, selection.End);
src\Framework\System\windows\Documents\TextEditorSelection.cs (5)
145
ITextRange textRange = new
TextRange
(lineRange.Start, lineRange.End);
483
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
534
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
1341
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
1382
ITextRange paragraphRange = new
TextRange
(movingPointer, movingPointer);
src\Framework\System\windows\Documents\TextEditorTyping.cs (2)
947
ITextRange textRange = new
TextRange
(This.Selection.Start, wordBoundary);
1009
ITextRange textRange = new
TextRange
(wordBoundary, This.Selection.End);
src\Framework\System\Windows\Documents\TextFindEngine.cs (1)
288
return (new
TextRange
(startMatchPosition, endMatchPosition));
src\Framework\System\Windows\Documents\TextRange.cs (1)
63
this
((ITextPointer)position1, (ITextPointer)position2)
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
306
TextRange range = new
TextRange
(thisRange.Start, nextPosition);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (1)
374
ITextRange textRange = new
TextRange
(textSegment.Start, textSegment.End);
src\Framework\System\windows\Documents\TextSelection.cs (2)
46
:
base
(textEditor.TextContainer.Start, textEditor.TextContainer.Start)
1302
new
TextRange
(autoWordRange.Start, autoWordRange.End).ApplyPropertyValue(formattingProperty, value);
src\Framework\System\Windows\Documents\TextStore.cs (2)
553
ITextRange range = new
TextRange
(this.TextSelection.AnchorPosition, this.TextSelection.MovingPosition);
1143
TextRange range = new
TextRange
(start, end);