64 references to TextRangeEditTables
PresentationFramework (64)
System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
61
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\Span.cs (2)
112
start =
TextRangeEditTables
.EnsureInsertionPosition(start);
114
end =
TextRangeEditTables
.EnsureInsertionPosition(end);
System\windows\Documents\TextEditor.cs (1)
2035
internal
TextRangeEditTables
.TableColumnResizeInfo _tableColResizeInfo;
System\windows\Documents\TextEditorCopyPaste.cs (1)
946
TextPointer start =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)This.Selection.Start);
System\windows\Documents\TextEditorLists.cs (1)
336
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\windows\Documents\TextEditorMouse.cs (3)
234
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseDownPoint))
237
This._tableColResizeInfo =
TextRangeEditTables
.StartColumnResize(This.TextView, mouseDownPoint);
679
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseMovePoint))
System\windows\Documents\TextEditorTyping.cs (5)
732
if (!
TextRangeEditTables
.IsTableStructureCrossed(position, deletePosition) &&
916
if (
TextRangeEditTables
.IsTableStructureCrossed(This.Selection.Start, wordBoundary))
976
if (
TextRangeEditTables
.IsTableStructureCrossed(wordBoundary, This.Selection.Start))
1187
TextRangeEditTables
.EnsureInsertionPosition(position);
1194
TextPointer newEnd =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\Windows\Documents\TextPointer.cs (3)
1285
insertPosition =
TextRangeEditTables
.EnsureInsertionPosition(this);
2788
TextRangeEditTables
.DeleteContent(this, (TextPointer)limit);
3553
position =
TextRangeEditTables
.EnsureInsertionPosition(this);
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);
System\Windows\Documents\TextRangeBase.cs (6)
259
(cell =
TextRangeEditTables
.GetTableCellFromPosition((TextPointer)thisRange.Start)) != null)
290
if (!
TextRangeEditTables
.IsTableStructureCrossed(thisRange.Start, nextPosition))
1366
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)insertPosition);
1927
TextRangeEditTables
.IdentifyValidBoundaries(thisRange, out start, out end);
1992
textSegments =
TextRangeEditTables
.BuildTableRange(
2049
textSegments =
TextRangeEditTables
.BuildTableRange(
System\Windows\Documents\TextRangeEdit.cs (6)
601
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
683
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
1042
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
1464
startPosition =
TextRangeEditTables
.EnsureInsertionPosition(startPosition);
1470
endPosition =
TextRangeEditTables
.EnsureInsertionPosition(endPosition);
2091
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
System\Windows\Documents\TextRangeEditLists.cs (4)
270
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.Start);
377
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
563
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
773
if (
TextRangeEditTables
.IsTableStructureCrossed(list.ElementEnd, adjustedEnd))
System\Windows\Documents\TextRangeEditTables.cs (10)
438
if (
TextRangeEditTables
.IsTableCellRange(selection.AnchorPosition, (TextPointer)movingPosition,
645
insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(insertionPosition);
728
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(position);
782
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
788
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
972
List<TextSegment> textSegments =
TextRangeEditTables
.BuildTableRange(
1023
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1041
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1054
TextRangeEditTables
.DeleteRows(rowsSegment);
1759
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\TextRangeSerialization.cs (2)
606
if (!
TextRangeEditTables
.GetColumnRange(range, table, out startColumn, out endColumn))
1261
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.End);
System\windows\Documents\TextSelection.cs (5)
596
newMovingPosition =
TextRangeEditTables
.GetNextTableCellRangeInsertionPosition(this, direction);
602
newMovingPosition =
TextRangeEditTables
.GetNextRowEndMovingPosition(this, direction);
604
else if (movingPosition is TextPointer &&
TextRangeEditTables
.MovingPositionCrossesCellBoundary(this))
608
newMovingPosition =
TextRangeEditTables
.GetNextRowStartMovingPosition(this, direction);
1041
if (!
TextRangeEditTables
.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
System\Windows\Documents\TextStore.cs (6)
3388
TableCell startCell =
TextRangeEditTables
.GetTableCellFromPosition(start);
3389
TableCell endCell =
TextRangeEditTables
.GetTableCellFromPosition(end);
3391
bool scopingTable =
TextRangeEditTables
.GetTableFromPosition(start) != null ||
TextRangeEditTables
.GetTableFromPosition(end) != null;
3408
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(start);
3409
start =
TextRangeEditTables
.GetAdjustedRowEndPosition(currentTable, start);