Lines Matching defs:newStart
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));
185 m_start = newStart;
1144 Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor) : start;
1145 updateStartEnd(newStart, lastPositionInNode(prevNode));
1173 Position newStart = shouldUpdateStart ? Position(prevNode, start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor) : start;
1174 updateStartEnd(newStart, Position(prevNode->parentNode(), prevNode->nodeIndex() + 1, Position::PositionIsOffsetInAnchor));
1474 Position newStart = start;
1484 newStart = Position(childText, childText->length() + start.offsetInContainerNode(), Position::PositionIsOffsetInAnchor);
1497 updateStartEnd(newStart, newEnd);