Home
last modified time | relevance | path

Searched refs:prefixTextNode (Results 1 – 2 of 2) sorted by relevance

/external/webkit/WebCore/editing/
DSplitTextNodeCommand.cpp58 RefPtr<Text> prefixTextNode = new Text(document(), prefixText); in doApply() local
59 ASSERT(prefixTextNode); in doApply()
60 document()->copyMarkers(m_text2.get(), 0, m_offset, prefixTextNode.get(), 0); in doApply()
65 parent->insertBefore(prefixTextNode.get(), m_text2.get(), ec); in doApply()
70 m_text1 = prefixTextNode.release(); in doApply()
80 RefPtr<Text> prefixTextNode = m_text1.release(); in doUnapply() local
81 String prefixText = prefixTextNode->data(); in doUnapply()
88 document()->copyMarkers(prefixTextNode.get(), 0, prefixText.length(), m_text2.get(), 0); in doUnapply()
89 prefixTextNode->remove(ec); in doUnapply()
/external/webkit/WebCore/inspector/front-end/
DTextPrompt.js201 var prefixTextNode = document.createTextNode(prefixText);
202 fullWordRange.insertNode(prefixTextNode);
208prefixTextNode.parentNode.insertBefore(this.autoCompleteElement, prefixTextNode.nextSibling);
210 finalSelectionRange.setStart(prefixTextNode, wordPrefixLength);
211 finalSelectionRange.setEnd(prefixTextNode, wordPrefixLength);