Home | History | Annotate | Download | only in editing

Lines Matching full:textnode

52         RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
53 insertNodeAtTabSpanPosition(textNode.get(), pos);
54 return firstPositionInNode(textNode.get());
60 RefPtrWillBeRawPtr<Text> textNode = document().createEditingTextNode("");
61 insertNodeAt(textNode.get(), pos);
62 return firstPositionInNode(textNode.get());
104 RefPtrWillBeRawPtr<Text> textNode = start.containerText();
105 if (!textNode)
108 unsigned count = std::min(text.length(), textNode->length() - start.offsetInContainerNode());
112 replaceTextInNode(textNode, start.offsetInContainerNode(), count, text);
114 Position endPosition = Position(textNode.release(), start.offsetInContainerNode() + text.length());
198 RefPtrWillBeRawPtr<Text> textNode = startPosition.containerText();
201 insertTextIntoNode(textNode, offset, m_text);
202 endPosition = Position(textNode, offset + m_text.length());
213 rebalanceWhitespaceOnTextSubstring(textNode, startPosition.offsetInContainerNode(), endPosition.offsetInContainerNode());
241 RefPtrWillBeRawPtr<Text> textNode = toText(node);
242 insertTextIntoNode(textNode, offset, "\t");
243 return Position(textNode.release(), offset + 1);
253 RefPtrWillBeRawPtr<Text> textNode = toText(node);
254 if (offset >= textNode->length())
255 insertNodeAfter(spanElement, textNode.release());
258 // NOTE: splitTextNode uses textNode for the
262 splitTextNode(textNode, offset);
263 insertNodeBefore(spanElement, textNode.release());