64 references to TextRangeEditTables
PresentationFramework (64)
System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
61
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\Span.cs (2)
113
start =
TextRangeEditTables
.EnsureInsertionPosition(start);
115
end =
TextRangeEditTables
.EnsureInsertionPosition(end);
System\windows\Documents\TextEditor.cs (1)
2041
internal
TextRangeEditTables
.TableColumnResizeInfo _tableColResizeInfo;
System\windows\Documents\TextEditorCopyPaste.cs (1)
959
TextPointer start =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)This.Selection.Start);
System\windows\Documents\TextEditorLists.cs (1)
352
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\windows\Documents\TextEditorMouse.cs (3)
248
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseDownPoint))
251
This._tableColResizeInfo =
TextRangeEditTables
.StartColumnResize(This.TextView, mouseDownPoint);
693
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseMovePoint))
System\windows\Documents\TextEditorTyping.cs (5)
741
if (!
TextRangeEditTables
.IsTableStructureCrossed(position, deletePosition) &&
925
if (
TextRangeEditTables
.IsTableStructureCrossed(This.Selection.Start, wordBoundary))
985
if (
TextRangeEditTables
.IsTableStructureCrossed(wordBoundary, This.Selection.Start))
1196
TextRangeEditTables
.EnsureInsertionPosition(position);
1203
TextPointer newEnd =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\Windows\Documents\TextPointer.cs (3)
1290
insertPosition =
TextRangeEditTables
.EnsureInsertionPosition(this);
2793
TextRangeEditTables
.DeleteContent(this, (TextPointer)limit);
3558
position =
TextRangeEditTables
.EnsureInsertionPosition(this);
System\Windows\Documents\TextRange.cs (8)
1587
TextPointer startPosition =
TextRangeEditTables
.EnsureInsertionPosition(this.Start);
1707
return
TextRangeEditTables
.InsertTable((TextPointer)this.End, rowCount, columnCount);
1721
return
TextRangeEditTables
.InsertRows(this, rowCount);
1735
return
TextRangeEditTables
.DeleteRows(this);
1749
return
TextRangeEditTables
.InsertColumns(this, columnCount);
1763
return
TextRangeEditTables
.DeleteColumns(this);
1777
return
TextRangeEditTables
.MergeCells(this);
1791
return
TextRangeEditTables
.SplitCell(this, splitCountHorizontal, splitCountVertical);
System\Windows\Documents\TextRangeBase.cs (6)
262
(cell =
TextRangeEditTables
.GetTableCellFromPosition((TextPointer)thisRange.Start)) != null)
293
if (!
TextRangeEditTables
.IsTableStructureCrossed(thisRange.Start, nextPosition))
1369
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)insertPosition);
1930
TextRangeEditTables
.IdentifyValidBoundaries(thisRange, out start, out end);
1995
textSegments =
TextRangeEditTables
.BuildTableRange(
2052
textSegments =
TextRangeEditTables
.BuildTableRange(
System\Windows\Documents\TextRangeEdit.cs (6)
603
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
685
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
1044
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
1466
startPosition =
TextRangeEditTables
.EnsureInsertionPosition(startPosition);
1472
endPosition =
TextRangeEditTables
.EnsureInsertionPosition(endPosition);
2093
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
System\Windows\Documents\TextRangeEditLists.cs (4)
272
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.Start);
379
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
565
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
775
if (
TextRangeEditTables
.IsTableStructureCrossed(list.ElementEnd, adjustedEnd))
System\Windows\Documents\TextRangeEditTables.cs (10)
440
if (
TextRangeEditTables
.IsTableCellRange(selection.AnchorPosition, (TextPointer)movingPosition,
647
insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(insertionPosition);
730
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(position);
784
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
790
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
974
List<TextSegment> textSegments =
TextRangeEditTables
.BuildTableRange(
1025
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1043
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1056
TextRangeEditTables
.DeleteRows(rowsSegment);
1761
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\TextRangeSerialization.cs (2)
612
if (!
TextRangeEditTables
.GetColumnRange(range, table, out startColumn, out endColumn))
1267
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.End);
System\windows\Documents\TextSelection.cs (5)
599
newMovingPosition =
TextRangeEditTables
.GetNextTableCellRangeInsertionPosition(this, direction);
605
newMovingPosition =
TextRangeEditTables
.GetNextRowEndMovingPosition(this, direction);
607
else if (movingPosition is TextPointer &&
TextRangeEditTables
.MovingPositionCrossesCellBoundary(this))
611
newMovingPosition =
TextRangeEditTables
.GetNextRowStartMovingPosition(this, direction);
1044
if (!
TextRangeEditTables
.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
System\Windows\Documents\TextStore.cs (6)
3399
TableCell startCell =
TextRangeEditTables
.GetTableCellFromPosition(start);
3400
TableCell endCell =
TextRangeEditTables
.GetTableCellFromPosition(end);
3402
bool scopingTable =
TextRangeEditTables
.GetTableFromPosition(start) != null ||
TextRangeEditTables
.GetTableFromPosition(end) != null;
3419
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(start);
3420
start =
TextRangeEditTables
.GetAdjustedRowEndPosition(currentTable, start);