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