58 references to TextRangeEdit
PresentationFramework (58)
src\Framework\System\Windows\Controls\AccessText.cs (2)
604
TextRangeEdit
.DeleteInlineContent(underlineStart, keyEnd);
642
TextRangeEdit
.DeleteInlineContent(keyStart, keyEnd);
src\Framework\System\Windows\Documents\List.cs (1)
294
TextRangeEdit
.SetParagraphProperty(this.ElementStart, this.ElementEnd,
src\Framework\System\Windows\Documents\Span.cs (1)
240
position =
TextRangeEdit
.SplitElement(position);
src\Framework\System\windows\Documents\TextEditorCharacters.cs (2)
102
!
TextRangeEdit
.CanApplyStructuralInlineProperty(selection.Start, selection.End))
174
TextRangeEdit
.CharacterResetFormatting(startResetFormatPosition, endResetFormatPosition);
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
1074
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.Start);
1075
TextRangeEdit
.MergeFlowDirection((TextPointer)This.Selection.End);
src\Framework\System\windows\Documents\TextEditorLists.cs (10)
257
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
270
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
275
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
280
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
287
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.IncreaseByAbsoluteValue);
312
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
326
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 20.0, PropertyValueAction.SetValue);
331
TextRangeEdit
.SetParagraphProperty(thisSelection.Start, thisSelection.End, Paragraph.TextIndentProperty, 0.0, PropertyValueAction.SetValue);
336
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
343
TextRangeEdit
.IncrementParagraphLeadingMargin(thisSelection, /*increment:*/20, PropertyValueAction.DecreaseByAbsoluteValue);
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
1147
newEnd =
TextRangeEdit
.InsertParagraphBreak(newEnd, /*moveIntoSecondParagraph*/true);
src\Framework\System\Windows\Documents\TextPointer.cs (3)
1459
position =
TextRangeEdit
.InsertParagraphBreak(this, /*moveIntoSecondParagraph:*/true);
1487
position =
TextRangeEdit
.InsertLineBreak(this);
3596
position =
TextRangeEdit
.SplitFormattingElement(position, /*keepEmptyFormatting:*/false);
src\Framework\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);
src\Framework\System\Windows\Documents\TextRangeBase.cs (1)
1351
TextRangeEdit
.MergeFlowDirection((TextPointer)thisRange.Start);
src\Framework\System\Windows\Documents\TextRangeEdit.cs (4)
752
end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(start, end);
1384
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Block.MarginProperty, thickness, propertyValueAction);
1879
Run run =
TextRangeEdit
.GetNextRun(start, end);
1913
run =
TextRangeEdit
.GetNextRun(nextRunPosition, end);
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (17)
144
TextRangeEdit
.MergeFormattingInlines(inlineMergingPosition);
232
TextRangeEdit
.SetParagraphProperty(precedingList.ElementStart, precedingList.ElementEnd,
249
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
280
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
315
TextRangeEdit
.SplitElement(block.ElementStart);
342
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
365
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
393
TextRangeEdit
.SetParagraphProperty(range.Start, range.End, Paragraph.FlowDirectionProperty, flowDirection);
400
ListItem lastListItem = TextPointerBase.GetImmediateListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
422
List indentedList = (List)
TextRangeEdit
.InsertElementClone(firstListItem.ElementStart, lastListItem.ElementEnd, list);
454
ListItem lastListItem = TextPointerBase.GetListItem((TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End));
489
TextRangeEdit
.SplitElement(firstListItem.ElementStart);
495
TextRangeEdit
.SplitElement(lastListItem.ElementEnd);
575
TextRangeEdit
.SetParagraphProperty(start, end, Paragraph.FlowDirectionProperty, listFlowDirectionValue);
591
TextPointer end = (TextPointer)
TextRangeEdit
.GetAdjustedRangeEnd(range.Start, range.End);
736
TextRangeEdit
.SplitElement(startListItem.ElementStart);
754
TextRangeEdit
.SplitElement(endListItem.ElementEnd);
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (1)
1072
TextRangeEdit
.DeleteParagraphContent(start, end);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (6)
1332
insertionPosition =
TextRangeEdit
.SplitFormattingElements(insertionPosition, /*keepEmptyFormatting:*/false);
1464
insertionPosition =
TextRangeEdit
.InsertParagraphBreak(insertionPosition, /*moveIntoSecondParagraph:*/false);
1475
insertionPosition =
TextRangeEdit
.SplitElement(insertionPosition);
1619
TextRangeEdit
.MergeFormattingInlines(start);
1620
TextRangeEdit
.MergeFormattingInlines(end);
1670
TextRangeEdit
.MergeFormattingInlines(element.ElementStart);