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