126 references to TextRangeBase
PresentationFramework (126)
MS\Internal\Annotations\TextAnchor.cs (1)
551textBuffer.Append(TextRangeBase.GetTextInternal(_segments[i].Start, _segments[i].End));
System\Windows\Controls\ComboBox.cs (1)
1624strValue += 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)
2022return TextRangeBase.GetTextInternal(_complexContent.TextContainer.Start, _complexContent.TextContainer.End);
System\Windows\Controls\TextBox.cs (1)
409text = TextRangeBase.GetTextInternal(startOfLine, endOfLine);
System\Windows\Controls\TextRangeAdaptor.cs (6)
642TextRangeBase.SelectParagraph(textRange, _start); 651TextRangeBase.SelectParagraph(textRange, _end); 854TextRangeBase.SelectParagraph(textRange, position); 865TextRangeBase.SelectParagraph(textRange, nextParagraphStart); 886TextRangeBase.SelectParagraph(textRange, previousParagraphEnd); 1862string text = TextRangeBase.GetTextInternal(_start, _end);
System\Windows\Documents\Hyperlink.cs (1)
790return TextRangeBase.GetTextInternal(this.ContentStart, this.ContentEnd);
System\Windows\Documents\RubberbandSelector.cs (1)
324text = $"{text}{TextRangeBase.GetTextInternal(range.first, range.second)}\r\n"; //CRLF
System\Windows\Documents\Speller.cs (1)
255string error = TextRangeBase.GetTextInternal(errorStart, errorEnd, ref charArray);
System\Windows\Documents\SpellerError.cs (1)
76_speller.IgnoreAll(TextRangeBase.GetTextInternal(_start, _end));
System\windows\Documents\TextEditorCharacters.cs (1)
153TextSegment autoWordRange = TextRangeBase.GetAutoWord(This.Selection);
System\windows\Documents\TextEditorDragDrop.cs (1)
489string wordText = TextRangeBase.GetTextInternal(wordSegment.Start, wordSegment.End);
System\Windows\Documents\TextRange.cs (50)
101TextRangeBase.Select(this, position1, position2); 137return TextRangeBase.Contains(this, position); 147TextRangeBase.Select(this, position1, position2); 157TextRangeBase.SelectWord(this, position); 167TextRangeBase.SelectParagraph(this, position); 177TextRangeBase.ApplyTypingHeuristics(this, overType); 184return TextRangeBase.GetPropertyValue(this, formattingProperty); 191return TextRangeBase.GetUIElementSelected(this); 204return TextRangeBase.CanSave(this, dataFormat); 211TextRangeBase.Save(this, stream, dataFormat, false); 218TextRangeBase.Save(this, stream, dataFormat, preserveTextElements); 234TextRangeBase.BeginChange(this); 244TextRangeBase.BeginChangeNoUndo(this); 254TextRangeBase.EndChange(this, false /* disableScroll */, false /* skipEvents */); 264TextRangeBase.EndChange(this, disableScroll, skipEvents); 290TextRangeBase.NotifyChanged(this, disableScroll); 328return TextRangeBase.GetStart(this); 341return TextRangeBase.GetEnd(this); 354return TextRangeBase.GetIsEmpty(this); 367return TextRangeBase.GetTextSegments(this); 399return TextRangeBase.GetText(this); 406TextRangeBase.SetText(this, value); 419return TextRangeBase.GetXml(this); 434return TextRangeBase.GetChangeBlockLevel(this); 453return TextRangeBase.GetIsTableCellRange(this); 918return TextRangeBase.CanLoad(this, dataFormat); 1097TextRangeBase.Load(this, stream, dataFormat); 1371TextRangeBase.BeginChange(this); 1385TextRangeBase.EndChange(this); 1579TextRangeBase.BeginChange(this); 1620TextRangeBase.EndChange(this); 1627TextRangeBase.BeginChange(this); 1642if (applyToParagraphs || this.IsEmpty || TextRangeBase.IsParagraphBoundaryCrossed(this)) 1676TextRangeBase.EndChange(this); 1683TextRangeBase.BeginChange(this); 1691TextRangeBase.EndChange(this); 1704TextRangeBase.BeginChange(this); 1711TextRangeBase.EndChange(this); 1718TextRangeBase.BeginChange(this); 1725TextRangeBase.EndChange(this); 1732TextRangeBase.BeginChange(this); 1739TextRangeBase.EndChange(this); 1746TextRangeBase.BeginChange(this); 1753TextRangeBase.EndChange(this); 1760TextRangeBase.BeginChange(this); 1767TextRangeBase.EndChange(this); 1774TextRangeBase.BeginChange(this); 1781TextRangeBase.EndChange(this); 1788TextRangeBase.BeginChange(this); 1795TextRangeBase.EndChange(this);
System\Windows\Documents\TextRangeBase.cs (15)
161TextRangeBase.SelectPrivate(thisRange, position1, position2, includeCellAtMovingPosition, /*markRangeChanged*/false); 168TextRangeBase.BeginChange(thisRange); 171TextRangeBase.SelectPrivate(thisRange, position1, position2, includeCellAtMovingPosition, /*markRangeChanged*/true); 175TextRangeBase.EndChange(thisRange); 199TextRangeBase.Select(thisRange, wordRange.Start, wordRange.End); 216string autoWord = TextRangeBase.GetTextInternal(autoWordRange.Start, autoWordRange.End).TrimEnd(' '); 218string textFromWordStart = TextRangeBase.GetTextInternal(autoWordRange.Start, thisRange.Start); 246TextRangeBase.Select(thisRange, start, end); 1261return TextRangeBase.GetTextInternal(start, thisRange.End); 1275text += TextRangeBase.GetTextInternal(textSegment.Start, textSegment.End); 1292TextRangeBase.BeginChange(thisRange); 1450TextRangeBase.SelectPrivate(thisRange, newStart, newEnd, /*includeCellAtMovingPosition:*/false, /*markRangeChanged*/true); 1455TextRangeBase.EndChange(thisRange); 2036TextRangeBase.CreateNormalizedTextSegment(thisRange, newStart, newEnd); 2073TextRangeBase.MarkRangeChanged(thisRange);
System\Windows\Documents\TextRangeSerialization.cs (1)
1289string fragmentText = TextRangeBase.GetTextInternal(fragment.ElementStart, fragment.ElementEnd);
System\windows\Documents\TextSelection.cs (39)
90TextRangeBase.BeginChange(this); 93TextRangeBase.Select(this, anchorPosition, movingPosition); 98TextRangeBase.EndChange(this); 107TextRangeBase.BeginChange(this); 110TextRangeBase.SelectWord(this, position); 117TextRangeBase.EndChange(this); 126TextRangeBase.BeginChange(this); 129TextRangeBase.SelectParagraph(this, position); 137TextRangeBase.EndChange(this); 146TextRangeBase.BeginChange(this); 149TextRangeBase.ApplyInitialTypingHeuristics(this); 158TextRangeBase.ApplyFinalTypingHeuristics(this, overType); 162TextRangeBase.EndChange(this); 181propertyValue = TextRangeBase.GetPropertyValue(this, formattingProperty); 244TextRangeBase.NotifyChanged(this, disableScroll); 290return TextRangeBase.GetText(this); 295TextRangeBase.BeginChange(this); 298TextRangeBase.SetText(this, value); 311TextRangeBase.EndChange(this); 531TextRangeBase.BeginChange(this); 534TextRangeBase.Select(this, caretPosition, caretPosition); 550TextRangeBase.EndChange(this); 563TextRangeBase.BeginChange(this); 572TextRangeBase.Select(thisSelection, anchorPosition, position); 579TextRangeBase.EndChange(this); 588TextRangeBase.BeginChange(this); 635TextRangeBase.Select(this, anchorPosition, newMovingPosition); 648TextRangeBase.EndChange(this); 854TextRangeBase.Select(this, startPosition, movingPosition, /*includeCellAtMovingPosition:*/true); 1086TextRangeBase.Select(this, _anchorPosition, movingPosition); 1256TextRangeBase.BeginChange(this); 1265TextRangeBase.EndChange(this); 1285TextSegment autoWordRange = TextRangeBase.GetAutoWord(this); 1320TextRangeBase.BeginChange(this); 1329TextRangeBase.EndChange(this); 1343TextRangeBase.BeginChange(this); 1352TextRangeBase.EndChange(this); 1359TextRangeBase.BeginChange(this); 1368TextRangeBase.EndChange(this);
System\Windows\Documents\TextStore.cs (3)
1255_lastCompositionText = TextRangeBase.GetTextInternal(start, end); 1356string compositionText = TextRangeBase.GetTextInternal(oldStart, oldEnd); 1420this.CompositionEventList.Add(new CompositionEventRecord(CompositionStage.EndComposition, start.Offset, end.Offset, TextRangeBase.GetTextInternal(start, end)));