Searched refs:prefixTextNode (Results 1 – 2 of 2) sorted by relevance
/external/webkit/WebCore/editing/ |
D | SplitTextNodeCommand.cpp | 62 RefPtr<Text> prefixTextNode = Text::create(document(), prefixText); in doApply() local 63 ASSERT(prefixTextNode); in doApply() 64 document()->copyMarkers(m_text2.get(), 0, m_offset, prefixTextNode.get(), 0); in doApply() 66 parent->insertBefore(prefixTextNode.get(), m_text2.get(), ec); in doApply() 71 m_text1 = prefixTextNode.release(); in doApply() 81 RefPtr<Text> prefixTextNode = m_text1.release(); in doUnapply() local 82 String prefixText = prefixTextNode->data(); in doUnapply() 89 document()->copyMarkers(prefixTextNode.get(), 0, prefixText.length(), m_text2.get(), 0); in doUnapply() 90 prefixTextNode->remove(ec); in doUnapply()
|
/external/webkit/WebCore/inspector/front-end/ |
D | TextPrompt.js | 233 var prefixTextNode = document.createTextNode(prefixText); 234 fullWordRange.insertNode(prefixTextNode); 240 … prefixTextNode.parentNode.insertBefore(this.autoCompleteElement, prefixTextNode.nextSibling); 242 finalSelectionRange.setStart(prefixTextNode, wordPrefixLength); 243 finalSelectionRange.setEnd(prefixTextNode, wordPrefixLength);
|