58 references to TextRangeEdit
PresentationFramework (58)
System\Windows\Controls\AccessText.cs (2)
605
TextRangeEdit
.DeleteInlineContent(underlineStart, keyEnd);
642
TextRangeEdit
.DeleteInlineContent(keyStart, keyEnd);
System\Windows\Documents\List.cs (1)
283
TextRangeEdit
.SetParagraphProperty(this.ElementStart, this.ElementEnd,
System\Windows\Documents\Span.cs (1)
223
position =
TextRangeEdit
.SplitElement(position);
System\windows\Documents\TextEditorCharacters.cs (2)
83
!
TextRangeEdit
.CanApplyStructuralInlineProperty(selection.Start, selection.End))
155
TextRangeEdit
.CharacterResetFormatting(startResetFormatPosition, endResetFormatPosition);
System\windows\Documents\TextEditorCopyPaste.cs (2)
886
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.Start);
887
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.End);
System\windows\Documents\TextEditorLists.cs (10)
238
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
251
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
256
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
261
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
268
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
293
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
307
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
312
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
317
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
324
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorTyping.cs (1)
1111
newEnd =
TextRangeEdit
.InsertParagraphBreak(newEnd, /*moveIntoSecondParagraph*/true);
System\Windows\Documents\TextPointer.cs (3)
1439
position =
TextRangeEdit
.InsertParagraphBreak(this, /*moveIntoSecondParagraph:*/true);
1467
position =
TextRangeEdit
.InsertLineBreak(this);
3564
position =
TextRangeEdit
.SplitFormattingElement(position, /*keepEmptyFormatting:*/false);
System\Windows\Documents\TextRange.cs (7)
1589
TextAlignment =
TextRangeEdit
.GetTextAlignmentFromHorizontalAlignment(embeddedElement.HorizontalAlignment)
1601
TextPointer insertionPosition =
TextRangeEdit
.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false);
1633
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1637
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1642
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1659
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1676
TextRangeEdit
.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeBase.cs (1)
1333
TextRangeEdit
.MergeFlowDirection((TextPointer)thisRange.Start);
System\Windows\Documents\TextRangeEdit.cs (4)
747
end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(start, end);
1379
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
1874
Run run =
TextRangeEdit
.GetNextRun(start, end);
1908
run =
TextRangeEdit
.GetNextRun(nextRunPosition, end);
System\Windows\Documents\TextRangeEditLists.cs (17)
139
TextRangeEdit
.MergeFormattingInlines(inlineMergingPosition);
227
TextRangeEdit
.SetParagraphProperty(precedingList.ElementStart, precedingList.ElementEnd,
244
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
275
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
310
TextRangeEdit
.SplitElement(block.ElementStart);
339
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
362
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
390
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection);
397
ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
419
List indentedList = (List)
TextRangeEdit
.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list);
451
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
486
TextRangeEdit
.SplitElement(firstListItem.ElementStart);
492
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
572
TextRangeEdit
.SetParagraphProperty(start, end, Paragraph.FlowDirectionProperty, listFlowDirectionValue);
588
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
733
TextRangeEdit
.SplitElement(startListItem.ElementStart);
751
TextRangeEdit
.SplitElement(endListItem.ElementEnd);
System\Windows\Documents\TextRangeEditTables.cs (1)
1070
TextRangeEdit
.DeleteParagraphContent(start, end);
System\Windows\Documents\TextRangeSerialization.cs (6)
1301
insertionPosition =
TextRangeEdit
.SplitFormattingElements(insertionPosition, /*keepEmptyFormatting:*/false);
1433
insertionPosition =
TextRangeEdit
.InsertParagraphBreak(insertionPosition, /*moveIntoSecondParagraph:*/false);
1444
insertionPosition =
TextRangeEdit
.SplitElement(insertionPosition);
1592
TextRangeEdit
.MergeFormattingInlines(start);
1593
TextRangeEdit
.MergeFormattingInlines(end);
1643
TextRangeEdit
.MergeFormattingInlines(element.ElementStart);