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)
1614strValue += 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)
2012return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End);
System\Windows\Controls\TextBox.cs (1)
402text = 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)
784return TextRangeBase.GetTextInternal(this.ContentStart, this.ContentEnd);
System\Windows\Documents\RubberbandSelector.cs (1)
314text = $"{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)
98TextRangeBase.Select(this, position1, position2); 134return TextRangeBase.Contains(this, position); 144TextRangeBase.Select(this, position1, position2); 154TextRangeBase.SelectWord(this, position); 164TextRangeBase.SelectParagraph(this, position); 174TextRangeBase.ApplyTypingHeuristics(this, overType); 181return TextRangeBase.GetPropertyValue(this, formattingProperty); 188return TextRangeBase.GetUIElementSelected(this); 201return TextRangeBase.CanSave(this, dataFormat); 208TextRangeBase.Save(this, stream, dataFormat, false); 215TextRangeBase.Save(this, stream, dataFormat, preserveTextElements); 231TextRangeBase.BeginChange(this); 241TextRangeBase.BeginChangeNoUndo(this); 251TextRangeBase.EndChange(this, false /* disableScroll */, false /* skipEvents */); 261TextRangeBase.EndChange(this, disableScroll, skipEvents); 287TextRangeBase.NotifyChanged(this, disableScroll); 325return TextRangeBase.GetStart(this); 338return TextRangeBase.GetEnd(this); 351return TextRangeBase.GetIsEmpty(this); 364return TextRangeBase.GetTextSegments(this); 396return TextRangeBase.GetText(this); 403TextRangeBase.SetText(this, value); 416return TextRangeBase.GetXml(this); 431return TextRangeBase.GetChangeBlockLevel(this); 450return TextRangeBase.GetIsTableCellRange(this); 915return TextRangeBase.CanLoad(this, dataFormat); 1094TextRangeBase.Load(this, stream, dataFormat); 1368TextRangeBase.BeginChange(this); 1382TextRangeBase.EndChange(this); 1576TextRangeBase.BeginChange(this); 1617TextRangeBase.EndChange(this); 1624TextRangeBase.BeginChange(this); 1639if (applyToParagraphs || this.IsEmpty || TextRangeBase.IsParagraphBoundaryCrossed(this)) 1673TextRangeBase.EndChange(this); 1680TextRangeBase.BeginChange(this); 1688TextRangeBase.EndChange(this); 1701TextRangeBase.BeginChange(this); 1708TextRangeBase.EndChange(this); 1715TextRangeBase.BeginChange(this); 1722TextRangeBase.EndChange(this); 1729TextRangeBase.BeginChange(this); 1736TextRangeBase.EndChange(this); 1743TextRangeBase.BeginChange(this); 1750TextRangeBase.EndChange(this); 1757TextRangeBase.BeginChange(this); 1764TextRangeBase.EndChange(this); 1771TextRangeBase.BeginChange(this); 1778TextRangeBase.EndChange(this); 1785TextRangeBase.BeginChange(this); 1792TextRangeBase.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); 2033TextRangeBase.CreateNormalizedTextSegment(thisRange, newStart, newEnd); 2070TextRangeBase.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); 241TextRangeBase.NotifyChanged(this, disableScroll); 287return TextRangeBase.GetText(this); 292TextRangeBase.BeginChange(this); 295TextRangeBase.SetText(this, value); 308TextRangeBase.EndChange(this); 528TextRangeBase.BeginChange(this); 531TextRangeBase.Select(this, caretPosition, caretPosition); 547TextRangeBase.EndChange(this); 560TextRangeBase.BeginChange(this); 569TextRangeBase.Select(thisSelection, anchorPosition, position); 576TextRangeBase.EndChange(this); 585TextRangeBase.BeginChange(this); 632TextRangeBase.Select(this, anchorPosition, newMovingPosition); 645TextRangeBase.EndChange(this); 851TextRangeBase.Select(this, startPosition, movingPosition, /*includeCellAtMovingPosition:*/true); 1083TextRangeBase.Select(this, _anchorPosition, movingPosition); 1253TextRangeBase.BeginChange(this); 1262TextRangeBase.EndChange(this); 1282TextSegment autoWordRange = TextRangeBase.GetAutoWord(this); 1317TextRangeBase.BeginChange(this); 1326TextRangeBase.EndChange(this); 1340TextRangeBase.BeginChange(this); 1349TextRangeBase.EndChange(this); 1356TextRangeBase.BeginChange(this); 1365TextRangeBase.EndChange(this);
System\Windows\Documents\TextStore.cs (3)
1244_lastCompositionText = TextRangeBase.GetTextInternal(start, end); 1345string compositionText = TextRangeBase.GetTextInternal(oldStart, oldEnd); 1409this.CompositionEventList.Add(new CompositionEventRecord(CompositionStage.EndComposition, start.Offset, end.Offset, TextRangeBase.GetTextInternal(start, end)));