58 references to TextRangeEdit
PresentationFramework (58)
System\Windows\Controls\AccessText.cs (2)
602
TextRangeEdit
.DeleteInlineContent(underlineStart, keyEnd);
639
TextRangeEdit
.DeleteInlineContent(keyStart, keyEnd);
System\Windows\Documents\List.cs (1)
284
TextRangeEdit
.SetParagraphProperty(this.ElementStart, this.ElementEnd,
System\Windows\Documents\Span.cs (1)
233
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)
885
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.Start);
886
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)
1121
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)
1598
blockUIContainer.TextAlignment =
TextRangeEdit
.GetTextAlignmentFromHorizontalAlignment(embeddedElement.HorizontalAlignment);
1609
TextPointer insertionPosition =
TextRangeEdit
.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false);
1641
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1645
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1650
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1667
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1684
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);
338
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
361
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
389
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection);
396
ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
418
List indentedList = (List)
TextRangeEdit
.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list);
450
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
485
TextRangeEdit
.SplitElement(firstListItem.ElementStart);
491
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
571
TextRangeEdit
.SetParagraphProperty(start, end, Paragraph.FlowDirectionProperty, listFlowDirectionValue);
587
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
732
TextRangeEdit
.SplitElement(startListItem.ElementStart);
750
TextRangeEdit
.SplitElement(endListItem.ElementEnd);
System\Windows\Documents\TextRangeEditTables.cs (1)
1067
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);