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