64 references to TextRangeEditTables
PresentationFramework (64)
System\Windows\Documents\ColumnResizeUndoUnit.cs (1)
60
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\Span.cs (2)
102
start =
TextRangeEditTables
.EnsureInsertionPosition(start);
104
end =
TextRangeEditTables
.EnsureInsertionPosition(end);
System\windows\Documents\TextEditor.cs (1)
2010
internal
TextRangeEditTables
.TableColumnResizeInfo _tableColResizeInfo;
System\windows\Documents\TextEditorCopyPaste.cs (1)
947
TextPointer start =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)This.Selection.Start);
System\windows\Documents\TextEditorLists.cs (1)
335
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\windows\Documents\TextEditorMouse.cs (3)
230
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseDownPoint))
233
This._tableColResizeInfo =
TextRangeEditTables
.StartColumnResize(This.TextView, mouseDownPoint);
675
if (TextEditor.IsTableEditingEnabled &&
TextRangeEditTables
.TableBorderHitTest(This.TextView, mouseMovePoint))
System\windows\Documents\TextEditorTyping.cs (5)
722
if (!
TextRangeEditTables
.IsTableStructureCrossed(position, deletePosition) &&
906
if (
TextRangeEditTables
.IsTableStructureCrossed(This.Selection.Start, wordBoundary))
966
if (
TextRangeEditTables
.IsTableStructureCrossed(wordBoundary, This.Selection.Start))
1177
TextRangeEditTables
.EnsureInsertionPosition(position);
1184
TextPointer newEnd =
TextRangeEditTables
.EnsureInsertionPosition(position);
System\Windows\Documents\TextPointer.cs (3)
1284
insertPosition =
TextRangeEditTables
.EnsureInsertionPosition(this);
2787
TextRangeEditTables
.DeleteContent(this, (TextPointer)limit);
3552
position =
TextRangeEditTables
.EnsureInsertionPosition(this);
System\Windows\Documents\TextRange.cs (8)
1575
TextPointer startPosition =
TextRangeEditTables
.EnsureInsertionPosition(this.Start);
1696
return
TextRangeEditTables
.InsertTable((TextPointer)this.End, rowCount, columnCount);
1710
return
TextRangeEditTables
.InsertRows(this, rowCount);
1724
return
TextRangeEditTables
.DeleteRows(this);
1738
return
TextRangeEditTables
.InsertColumns(this, columnCount);
1752
return
TextRangeEditTables
.DeleteColumns(this);
1766
return
TextRangeEditTables
.MergeCells(this);
1780
return
TextRangeEditTables
.SplitCell(this, splitCountHorizontal, splitCountVertical);
System\Windows\Documents\TextRangeBase.cs (6)
258
(cell =
TextRangeEditTables
.GetTableCellFromPosition((TextPointer)thisRange.Start)) != null)
289
if (!
TextRangeEditTables
.IsTableStructureCrossed(thisRange.Start, nextPosition))
1365
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition((TextPointer)insertPosition);
1925
TextRangeEditTables
.IdentifyValidBoundaries(thisRange, out start, out end);
1990
textSegments =
TextRangeEditTables
.BuildTableRange(
2047
textSegments =
TextRangeEditTables
.BuildTableRange(
System\Windows\Documents\TextRangeEdit.cs (6)
600
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
682
position =
TextRangeEditTables
.EnsureInsertionPosition(position);
1041
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
1463
startPosition =
TextRangeEditTables
.EnsureInsertionPosition(startPosition);
1469
endPosition =
TextRangeEditTables
.EnsureInsertionPosition(endPosition);
2090
pointer =
TextRangeEditTables
.EnsureInsertionPosition(pointer);
System\Windows\Documents\TextRangeEditLists.cs (4)
269
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.Start);
378
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
564
TextRangeEditTables
.EnsureInsertionPosition(listItem.ContentStart);
774
if (
TextRangeEditTables
.IsTableStructureCrossed(list.ElementEnd, adjustedEnd))
System\Windows\Documents\TextRangeEditTables.cs (10)
437
if (
TextRangeEditTables
.IsTableCellRange(selection.AnchorPosition, (TextPointer)movingPosition,
644
insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(insertionPosition);
731
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(position);
785
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
791
currentTable ==
TextRangeEditTables
.GetTableFromPosition(nextInsertionPosition))
975
List<TextSegment> textSegments =
TextRangeEditTables
.BuildTableRange(
1026
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1044
TextRangeEditTables
.DeleteRows(rowsSegment); // it will take care of rowspans
1057
TextRangeEditTables
.DeleteRows(rowsSegment);
1762
TextRangeEditTables
.EnsureTableColumnsAreFixedSize(table, _columnWidths);
System\Windows\Documents\TextRangeSerialization.cs (2)
605
if (!
TextRangeEditTables
.GetColumnRange(range, table, out startColumn, out endColumn))
1260
TextPointer insertionPosition =
TextRangeEditTables
.EnsureInsertionPosition(range.End);
System\windows\Documents\TextSelection.cs (5)
583
newMovingPosition =
TextRangeEditTables
.GetNextTableCellRangeInsertionPosition(this, direction);
589
newMovingPosition =
TextRangeEditTables
.GetNextRowEndMovingPosition(this, direction);
591
else if (movingPosition is TextPointer &&
TextRangeEditTables
.MovingPositionCrossesCellBoundary(this))
595
newMovingPosition =
TextRangeEditTables
.GetNextRowStartMovingPosition(this, direction);
1025
if (!
TextRangeEditTables
.IsTableCellRange((TextPointer)_anchorPosition, (TextPointer)((ITextSelection)this).MovingPosition, /*includeCellAtMovingPosition:*/false, out anchorCell, out movingCell))
System\Windows\Documents\TextStore.cs (6)
3380
TableCell startCell =
TextRangeEditTables
.GetTableCellFromPosition(start);
3381
TableCell endCell =
TextRangeEditTables
.GetTableCellFromPosition(end);
3383
bool scopingTable =
TextRangeEditTables
.GetTableFromPosition(start) != null ||
TextRangeEditTables
.GetTableFromPosition(end) != null;
3400
Table currentTable =
TextRangeEditTables
.GetTableFromPosition(start);
3401
start =
TextRangeEditTables
.GetAdjustedRowEndPosition(currentTable, start);