Lines Matching refs:insertPos
1410 Node* ReplaceSelectionCommand::insertAsListItems(PassRefPtr<HTMLElement> prpListElement, Node* insertionBlock, const Position& insertPos, InsertedNodes& insertedNodes)
1417 bool isStart = isStartOfParagraph(insertPos);
1418 bool isEnd = isEndOfParagraph(insertPos);
1425 int textNodeOffset = insertPos.offsetInContainerNode();
1426 if (insertPos.deprecatedNode()->isTextNode() && textNodeOffset > 0)
1427 splitTextNode(toText(insertPos.deprecatedNode()), textNodeOffset);
1428 splitTreeToNode(insertPos.deprecatedNode(), lastNode, true);