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