58 references to TextRangeEdit
PresentationFramework (58)
System\Windows\Controls\AccessText.cs (2)
606
TextRangeEdit
.DeleteInlineContent(underlineStart, keyEnd);
643
TextRangeEdit
.DeleteInlineContent(keyStart, keyEnd);
System\Windows\Documents\List.cs (1)
284
TextRangeEdit
.SetParagraphProperty(this.ElementStart, this.ElementEnd,
System\Windows\Documents\Span.cs (1)
224
position =
TextRangeEdit
.SplitElement(position);
System\windows\Documents\TextEditorCharacters.cs (2)
84
!
TextRangeEdit
.CanApplyStructuralInlineProperty(selection.Start, selection.End))
156
TextRangeEdit
.CharacterResetFormatting(startResetFormatPosition, endResetFormatPosition);
System\windows\Documents\TextEditorCopyPaste.cs (2)
887
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.Start);
888
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.End);
System\windows\Documents\TextEditorLists.cs (10)
239
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
252
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
257
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
262
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
269
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
294
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
308
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
313
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
318
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
325
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorTyping.cs (1)
1112
newEnd =
TextRangeEdit
.InsertParagraphBreak(newEnd, /*moveIntoSecondParagraph*/true);
System\Windows\Documents\TextPointer.cs (3)
1440
position =
TextRangeEdit
.InsertParagraphBreak(this, /*moveIntoSecondParagraph:*/true);
1468
position =
TextRangeEdit
.InsertLineBreak(this);
3565
position =
TextRangeEdit
.SplitFormattingElement(position, /*keepEmptyFormatting:*/false);
System\Windows\Documents\TextRange.cs (7)
1590
TextAlignment =
TextRangeEdit
.GetTextAlignmentFromHorizontalAlignment(embeddedElement.HorizontalAlignment)
1602
TextPointer insertionPosition =
TextRangeEdit
.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false);
1634
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1638
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1643
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1660
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1677
TextRangeEdit
.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeBase.cs (1)
1334
TextRangeEdit
.MergeFlowDirection((TextPointer)thisRange.Start);
System\Windows\Documents\TextRangeEdit.cs (4)
748
end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(start, end);
1380
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
1875
Run run =
TextRangeEdit
.GetNextRun(start, end);
1909
run =
TextRangeEdit
.GetNextRun(nextRunPosition, end);
System\Windows\Documents\TextRangeEditLists.cs (17)
140
TextRangeEdit
.MergeFormattingInlines(inlineMergingPosition);
228
TextRangeEdit
.SetParagraphProperty(precedingList.ElementStart, precedingList.ElementEnd,
245
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
276
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
311
TextRangeEdit
.SplitElement(block.ElementStart);
340
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
363
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
391
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection);
398
ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
420
List indentedList = (List)
TextRangeEdit
.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list);
452
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
487
TextRangeEdit
.SplitElement(firstListItem.ElementStart);
493
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
573
TextRangeEdit
.SetParagraphProperty(start, end, Paragraph.FlowDirectionProperty, listFlowDirectionValue);
589
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
734
TextRangeEdit
.SplitElement(startListItem.ElementStart);
752
TextRangeEdit
.SplitElement(endListItem.ElementEnd);
System\Windows\Documents\TextRangeEditTables.cs (1)
1071
TextRangeEdit
.DeleteParagraphContent(start, end);
System\Windows\Documents\TextRangeSerialization.cs (6)
1302
insertionPosition =
TextRangeEdit
.SplitFormattingElements(insertionPosition, /*keepEmptyFormatting:*/false);
1434
insertionPosition =
TextRangeEdit
.InsertParagraphBreak(insertionPosition, /*moveIntoSecondParagraph:*/false);
1445
insertionPosition =
TextRangeEdit
.SplitElement(insertionPosition);
1593
TextRangeEdit
.MergeFormattingInlines(start);
1594
TextRangeEdit
.MergeFormattingInlines(end);
1644
TextRangeEdit
.MergeFormattingInlines(element.ElementStart);