64 references to TextRangeEditTables
PresentationFramework (64)
src\Framework\System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
67
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
src\Framework\System\Windows\Documents\Span.cs (2)
119
start =
TextRangeEditTables
.EnsureInsertionPosition(start);
121
end =
TextRangeEditTables
.EnsureInsertionPosition(end);
src\Framework\System\windows\Documents\TextEditor.cs (1)
2092
internal
TextRangeEditTables
.TableColumnResizeInfo _tableColResizeInfo;
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (1)
1136
TextPointer start =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)This.Selection.Start);
src\Framework\System\windows\Documents\TextEditorLists.cs (1)
354
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
src\Framework\System\windows\Documents\TextEditorMouse.cs (3)
250
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseDownPoint))
253
This._tableColResizeInfo =
TextRangeEditTables
.StartColumnResize(This.TextView, mouseDownPoint);
694
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseMovePoint))
src\Framework\System\windows\Documents\TextEditorTyping.cs (5)
757
if (!
TextRangeEditTables
.IsTableStructureCrossed(position, deletePosition) &&
942
if (
TextRangeEditTables
.IsTableStructureCrossed(This.Selection.Start, wordBoundary))
1002
if (
TextRangeEditTables
.IsTableStructureCrossed(wordBoundary, This.Selection.Start))
1213
TextRangeEditTables
.EnsureInsertionPosition(position);
1220
TextPointer newEnd =
TextRangeEditTables
.EnsureInsertionPosition(position);
src\Framework\System\Windows\Documents\TextPointer.cs (3)
1304
insertPosition =
TextRangeEditTables
.EnsureInsertionPosition(this);
2819
TextRangeEditTables
.DeleteContent(this, (TextPointer)limit);
3584
position =
TextRangeEditTables
.EnsureInsertionPosition(this);
src\Framework\System\Windows\Documents\TextRange.cs (8)
1584
TextPointer startPosition =
TextRangeEditTables
.EnsureInsertionPosition(this.Start);
1704
return
TextRangeEditTables
.InsertTable((TextPointer)this.End, rowCount, columnCount);
1718
return
TextRangeEditTables
.InsertRows(this, rowCount);
1732
return
TextRangeEditTables
.DeleteRows(this);
1746
return
TextRangeEditTables
.InsertColumns(this, columnCount);
1760
return
TextRangeEditTables
.DeleteColumns(this);
1774
return
TextRangeEditTables
.MergeCells(this);
1788
return
TextRangeEditTables
.SplitCell(this, splitCountHorizontal, splitCountVertical);
src\Framework\System\Windows\Documents\TextRangeBase.cs (6)
273
(cell =
TextRangeEditTables
.GetTableCellFromPosition((TextPointer)thisRange.Start)) != null)
304
if (!
TextRangeEditTables
.IsTableStructureCrossed(thisRange.Start, nextPosition))
1383
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)insertPosition);
1958
TextRangeEditTables
.IdentifyValidBoundaries(thisRange, out start, out end);
2023
textSegments =
TextRangeEditTables
.BuildTableRange(
2080
textSegments =
TextRangeEditTables
.BuildTableRange(
src\Framework\System\Windows\Documents\TextRangeEdit.cs (6)
605
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
687
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
1046
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
1468
startPosition =
TextRangeEditTables
.EnsureInsertionPosition(startPosition);
1474
endPosition =
TextRangeEditTables
.EnsureInsertionPosition(endPosition);
2095
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
src\Framework\System\Windows\Documents\TextRangeEditLists.cs (4)
274
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.Start);
381
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
567
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
777
if (
TextRangeEditTables
.IsTableStructureCrossed(list.ElementEnd, adjustedEnd))
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (10)
443
if (
TextRangeEditTables
.IsTableCellRange(selection.AnchorPosition, (TextPointer)movingPosition,
650
insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(insertionPosition);
733
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(position);
787
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
793
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
977
List<TextSegment> textSegments =
TextRangeEditTables
.BuildTableRange(
1028
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1046
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1059
TextRangeEditTables
.DeleteRows(rowsSegment);
1764
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
src\Framework\System\Windows\Documents\TextRangeSerialization.cs (2)
618
if (!
TextRangeEditTables
.GetColumnRange(range, table, out startColumn, out endColumn))
1291
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.End);
src\Framework\System\windows\Documents\TextSelection.cs (5)
602
newMovingPosition =
TextRangeEditTables
.GetNextTableCellRangeInsertionPosition(this, direction);
608
newMovingPosition =
TextRangeEditTables
.GetNextRowEndMovingPosition(this, direction);
610
else if (movingPosition is TextPointer &&
TextRangeEditTables
.MovingPositionCrossesCellBoundary(this))
614
newMovingPosition =
TextRangeEditTables
.GetNextRowStartMovingPosition(this, direction);
1047
if (!
TextRangeEditTables
.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
src\Framework\System\Windows\Documents\TextStore.cs (6)
3321
TableCell startCell =
TextRangeEditTables
.GetTableCellFromPosition(start);
3322
TableCell endCell =
TextRangeEditTables
.GetTableCellFromPosition(end);
3324
bool scopingTable =
TextRangeEditTables
.GetTableFromPosition(start) != null ||
TextRangeEditTables
.GetTableFromPosition(end) != null;
3341
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(start);
3342
start =
TextRangeEditTables
.GetAdjustedRowEndPosition(currentTable, start);