58 references to TextRangeEdit
PresentationFramework (58)
System\Windows\Controls\AccessText.cs (2)
604
TextRangeEdit
.DeleteInlineContent(underlineStart, keyEnd);
641
TextRangeEdit
.DeleteInlineContent(keyStart, keyEnd);
System\Windows\Documents\List.cs (1)
284
TextRangeEdit
.SetParagraphProperty(this.ElementStart, this.ElementEnd,
System\Windows\Documents\Span.cs (1)
234
position =
TextRangeEdit
.SplitElement(position);
System\windows\Documents\TextEditorCharacters.cs (2)
100
!
TextRangeEdit
.CanApplyStructuralInlineProperty(selection.Start, selection.End))
172
TextRangeEdit
.CharacterResetFormatting(startResetFormatPosition, endResetFormatPosition);
System\windows\Documents\TextEditorCopyPaste.cs (2)
898
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.Start);
899
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.End);
System\windows\Documents\TextEditorLists.cs (10)
255
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
268
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
273
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
278
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
285
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
310
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
324
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
329
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
334
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
341
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
System\windows\Documents\TextEditorTyping.cs (1)
1130
newEnd =
TextRangeEdit
.InsertParagraphBreak(newEnd, /*moveIntoSecondParagraph*/true);
System\Windows\Documents\TextPointer.cs (3)
1445
position =
TextRangeEdit
.InsertParagraphBreak(this, /*moveIntoSecondParagraph:*/true);
1473
position =
TextRangeEdit
.InsertLineBreak(this);
3570
position =
TextRangeEdit
.SplitFormattingElement(position, /*keepEmptyFormatting:*/false);
System\Windows\Documents\TextRange.cs (7)
1601
blockUIContainer.TextAlignment =
TextRangeEdit
.GetTextAlignmentFromHorizontalAlignment(embeddedElement.HorizontalAlignment);
1612
TextPointer insertionPosition =
TextRangeEdit
.SplitFormattingElements(this.Start, /*keepEmptyFormatting:*/false);
1644
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1648
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1653
TextRangeEdit
.SetInlineProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1670
TextRangeEdit
.SetParagraphProperty((TextPointer)textSegment.Start, (TextPointer)textSegment.End, formattingProperty, value, propertyValueAction);
1687
TextRangeEdit
.CharacterResetFormatting((TextPointer)this.Start, (TextPointer)this.End);
System\Windows\Documents\TextRangeBase.cs (1)
1337
TextRangeEdit
.MergeFlowDirection((TextPointer)thisRange.Start);
System\Windows\Documents\TextRangeEdit.cs (4)
750
end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(start, end);
1382
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
1877
Run run =
TextRangeEdit
.GetNextRun(start, end);
1911
run =
TextRangeEdit
.GetNextRun(nextRunPosition, end);
System\Windows\Documents\TextRangeEditLists.cs (17)
142
TextRangeEdit
.MergeFormattingInlines(inlineMergingPosition);
230
TextRangeEdit
.SetParagraphProperty(precedingList.ElementStart, precedingList.ElementEnd,
247
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
278
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
313
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)
1069
TextRangeEdit
.DeleteParagraphContent(start, end);
System\Windows\Documents\TextRangeSerialization.cs (6)
1308
insertionPosition =
TextRangeEdit
.SplitFormattingElements(insertionPosition, /*keepEmptyFormatting:*/false);
1440
insertionPosition =
TextRangeEdit
.InsertParagraphBreak(insertionPosition, /*moveIntoSecondParagraph:*/false);
1451
insertionPosition =
TextRangeEdit
.SplitElement(insertionPosition);
1599
TextRangeEdit
.MergeFormattingInlines(start);
1600
TextRangeEdit
.MergeFormattingInlines(end);
1650
TextRangeEdit
.MergeFormattingInlines(element.ElementStart);