126 references to TextRangeBase
PresentationFramework (126)
MS\Internal\Annotations\TextAnchor.cs (1)
548textBuffer.Append(TextRangeBase.GetTextInternal(_segments[i].Start, _segments[i].End));
System\Windows\Controls\ComboBox.cs (1)
1612strValue += TextRangeBase.GetTextInternal(textElement.ContentStart, textElement.ContentEnd);
System\Windows\Controls\DeferredRunTextReference.cs (1)
44return TextRangeBase.GetTextInternal(_run.ContentStart, _run.ContentEnd);
System\Windows\Controls\DeferredTextReference.cs (1)
44string s = TextRangeBase.GetTextInternal(_textContainer.Start, _textContainer.End);
System\Windows\Controls\TextBlock.cs (1)
2001return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End);
System\Windows\Controls\TextBox.cs (1)
404text = TextRangeBase.GetTextInternal(startOfLine, endOfLine);
System\Windows\Controls\TextRangeAdaptor.cs (6)
640TextRangeBase.SelectParagraph(textRange, _start); 649TextRangeBase.SelectParagraph(textRange, _end); 852TextRangeBase.SelectParagraph(textRange, position); 863TextRangeBase.SelectParagraph(textRange, nextParagraphStart); 884TextRangeBase.SelectParagraph(textRange, previousParagraphEnd); 1860string text = TextRangeBase.GetTextInternal(_start, _end);
System\Windows\Documents\Hyperlink.cs (1)
785return TextRangeBase.GetTextInternal(this.ContentStart, this.ContentEnd);
System\Windows\Documents\RubberbandSelector.cs (1)
313text = $"{text}{TextRangeBase.GetTextInternal(range.first, range.second)}\r\n"; //CRLF
System\Windows\Documents\Speller.cs (1)
238string error = TextRangeBase.GetTextInternal(errorStart, errorEnd, ref charArray);
System\Windows\Documents\SpellerError.cs (1)
74_speller.IgnoreAll(TextRangeBase.GetTextInternal(_start, _end));
System\windows\Documents\TextEditorCharacters.cs (1)
137TextSegment autoWordRange = TextRangeBase.GetAutoWord(This.Selection);
System\windows\Documents\TextEditorDragDrop.cs (1)
472string wordText = TextRangeBase.GetTextInternal(wordSegment.Start, wordSegment.End);
System\Windows\Documents\TextRange.cs (50)
92TextRangeBase.Select(this, position1, position2); 128return TextRangeBase.Contains(this, position); 138TextRangeBase.Select(this, position1, position2); 148TextRangeBase.SelectWord(this, position); 158TextRangeBase.SelectParagraph(this, position); 168TextRangeBase.ApplyTypingHeuristics(this, overType); 175return TextRangeBase.GetPropertyValue(this, formattingProperty); 182return TextRangeBase.GetUIElementSelected(this); 195return TextRangeBase.CanSave(this, dataFormat); 202TextRangeBase.Save(this, stream, dataFormat, false); 209TextRangeBase.Save(this, stream, dataFormat, preserveTextElements); 225TextRangeBase.BeginChange(this); 235TextRangeBase.BeginChangeNoUndo(this); 245TextRangeBase.EndChange(this, false /* disableScroll */, false /* skipEvents */); 255TextRangeBase.EndChange(this, disableScroll, skipEvents); 281TextRangeBase.NotifyChanged(this, disableScroll); 319return TextRangeBase.GetStart(this); 332return TextRangeBase.GetEnd(this); 345return TextRangeBase.GetIsEmpty(this); 358return TextRangeBase.GetTextSegments(this); 390return TextRangeBase.GetText(this); 397TextRangeBase.SetText(this, value); 410return TextRangeBase.GetXml(this); 425return TextRangeBase.GetChangeBlockLevel(this); 444return TextRangeBase.GetIsTableCellRange(this); 907return TextRangeBase.CanLoad(this, dataFormat); 1086TextRangeBase.Load(this, stream, dataFormat); 1360TextRangeBase.BeginChange(this); 1374TextRangeBase.EndChange(this); 1568TextRangeBase.BeginChange(this); 1610TextRangeBase.EndChange(this); 1617TextRangeBase.BeginChange(this); 1632if (applyToParagraphs || this.IsEmpty || TextRangeBase.IsParagraphBoundaryCrossed(this)) 1666TextRangeBase.EndChange(this); 1673TextRangeBase.BeginChange(this); 1681TextRangeBase.EndChange(this); 1694TextRangeBase.BeginChange(this); 1701TextRangeBase.EndChange(this); 1708TextRangeBase.BeginChange(this); 1715TextRangeBase.EndChange(this); 1722TextRangeBase.BeginChange(this); 1729TextRangeBase.EndChange(this); 1736TextRangeBase.BeginChange(this); 1743TextRangeBase.EndChange(this); 1750TextRangeBase.BeginChange(this); 1757TextRangeBase.EndChange(this); 1764TextRangeBase.BeginChange(this); 1771TextRangeBase.EndChange(this); 1778TextRangeBase.BeginChange(this); 1785TextRangeBase.EndChange(this);
System\Windows\Documents\TextRangeBase.cs (15)
158TextRangeBase.SelectPrivate(thisRange, position1, position2, includeCellAtMovingPosition, /*markRangeChanged*/false); 165TextRangeBase.BeginChange(thisRange); 168TextRangeBase.SelectPrivate(thisRange, position1, position2, includeCellAtMovingPosition, /*markRangeChanged*/true); 172TextRangeBase.EndChange(thisRange); 196TextRangeBase.Select(thisRange, wordRange.Start, wordRange.End); 213string autoWord = TextRangeBase.GetTextInternal(autoWordRange.Start, autoWordRange.End).TrimEnd(' '); 215string textFromWordStart = TextRangeBase.GetTextInternal(autoWordRange.Start, thisRange.Start); 243TextRangeBase.Select(thisRange, start, end); 1258return TextRangeBase.GetTextInternal(start, thisRange.End); 1272text += TextRangeBase.GetTextInternal(textSegment.Start, textSegment.End); 1289TextRangeBase.BeginChange(thisRange); 1447TextRangeBase.SelectPrivate(thisRange, newStart, newEnd, /*includeCellAtMovingPosition:*/false, /*markRangeChanged*/true); 1452TextRangeBase.EndChange(thisRange); 2032TextRangeBase.CreateNormalizedTextSegment(thisRange, newStart, newEnd); 2069TextRangeBase.MarkRangeChanged(thisRange);
System\Windows\Documents\TextRangeSerialization.cs (1)
1283string fragmentText = TextRangeBase.GetTextInternal(fragment.ElementStart, fragment.ElementEnd);
System\windows\Documents\TextSelection.cs (39)
87TextRangeBase.BeginChange(this); 90TextRangeBase.Select(this, anchorPosition, movingPosition); 95TextRangeBase.EndChange(this); 104TextRangeBase.BeginChange(this); 107TextRangeBase.SelectWord(this, position); 114TextRangeBase.EndChange(this); 123TextRangeBase.BeginChange(this); 126TextRangeBase.SelectParagraph(this, position); 134TextRangeBase.EndChange(this); 143TextRangeBase.BeginChange(this); 146TextRangeBase.ApplyInitialTypingHeuristics(this); 155TextRangeBase.ApplyFinalTypingHeuristics(this, overType); 159TextRangeBase.EndChange(this); 178propertyValue = TextRangeBase.GetPropertyValue(this, formattingProperty); 229TextRangeBase.NotifyChanged(this, disableScroll); 275return TextRangeBase.GetText(this); 280TextRangeBase.BeginChange(this); 283TextRangeBase.SetText(this, value); 296TextRangeBase.EndChange(this); 516TextRangeBase.BeginChange(this); 519TextRangeBase.Select(this, caretPosition, caretPosition); 535TextRangeBase.EndChange(this); 548TextRangeBase.BeginChange(this); 557TextRangeBase.Select(thisSelection, anchorPosition, position); 564TextRangeBase.EndChange(this); 573TextRangeBase.BeginChange(this); 620TextRangeBase.Select(this, anchorPosition, newMovingPosition); 633TextRangeBase.EndChange(this); 836TextRangeBase.Select(this, startPosition, movingPosition, /*includeCellAtMovingPosition:*/true); 1068TextRangeBase.Select(this, _anchorPosition, movingPosition); 1238TextRangeBase.BeginChange(this); 1247TextRangeBase.EndChange(this); 1267TextSegment autoWordRange = TextRangeBase.GetAutoWord(this); 1302TextRangeBase.BeginChange(this); 1311TextRangeBase.EndChange(this); 1325TextRangeBase.BeginChange(this); 1334TextRangeBase.EndChange(this); 1341TextRangeBase.BeginChange(this); 1350TextRangeBase.EndChange(this);
System\Windows\Documents\TextStore.cs (3)
1241_lastCompositionText = TextRangeBase.GetTextInternal(start, end); 1342string compositionText = TextRangeBase.GetTextInternal(oldStart, oldEnd); 1406this.CompositionEventList.Add(new CompositionEventRecord(CompositionStage.EndComposition, start.Offset, end.Offset, TextRangeBase.GetTextInternal(start, end)));