Lines Matching defs:startOffset
432 int startOffset = m_upstreamStart.deprecatedEditingOffset();
436 if (startNode == m_startBlock && startOffset == 0 && canHaveChildrenForEditing(startNode) && !startNode->hasTagName(tableTag)) {
437 startOffset = 0;
441 if (startOffset >= caretMaxOffset(startNode) && startNode->isTextNode()) {
447 if (startOffset >= lastOffsetForEditing(startNode)) {
449 startOffset = 0;
457 if (m_downstreamEnd.deprecatedEditingOffset() - startOffset > 0) {
461 deleteTextFromNode(text, startOffset, m_downstreamEnd.deprecatedEditingOffset() - startOffset);
463 removeChildrenInRange(startNode, startOffset, m_downstreamEnd.deprecatedEditingOffset());
469 if (!startNode->renderer() || (!startOffset && m_downstreamEnd.atLastEditingPositionForNode()))
477 if (startOffset > 0) {
481 deleteTextFromNode(text, startOffset, text->length() - startOffset);
484 node = startNode->childNode(startOffset);