Lines Matching defs:newEnd
177 void ApplyStyleCommand::updateStartEnd(const Position& newStart, const Position& newEnd)
179 ASSERT(comparePositions(newEnd, newStart) >= 0);
181 if (!m_useEndingSelection && (newStart != m_start || newEnd != m_end))
184 setEndingSelection(VisibleSelection(newStart, newEnd, VP_DEFAULT_AFFINITY));
186 m_end = newEnd;
1123 Position newEnd;
1125 newEnd = Position(end.containerNode(), end.offsetInContainerNode() - start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor);
1127 newEnd = end;
1131 updateStartEnd(firstPositionInNode(start.deprecatedNode()), newEnd);
1152 Position newEnd;
1154 newEnd
1156 newEnd = end;
1160 updateStartEnd(Position(start.deprecatedNode()->parentNode(), start.deprecatedNode()->nodeIndex(), Position::PositionIsOffsetInAnchor), newEnd);
1475 Position newEnd = end;
1486 newEnd = Position(childText, childText->length() + end.offsetInContainerNode(), Position::PositionIsOffsetInAnchor);
1497 updateStartEnd(newStart, newEnd);