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