/external/webkit/WebCore/editing/ |
JoinTextNodesCommand.cpp | 34 : SimpleEditCommand(text1->document()), m_text1(text1), m_text2(text2) 37 ASSERT(m_text2); 38 ASSERT(m_text1->nextSibling() == m_text2); 40 ASSERT(m_text2->length() > 0); 45 if (m_text1->nextSibling() != m_text2) 48 Node* parent = m_text2->parentNode(); 53 m_text2->insertData(0, m_text1->data(), ec); 65 Node* parent = m_text2->parentNode(); 71 parent->insertBefore(m_text1.get(), m_text2.get(), ec); 75 m_text2->deleteData(0, m_text1->length(), ec) [all...] |
SplitTextNodeCommand.cpp | 37 , m_text2(text) 44 ASSERT(m_text2); 45 ASSERT(m_text2->length() > 0); 47 ASSERT(m_offset < m_text2->length()); 52 Node* parent = m_text2->parentNode(); 58 String prefixText = m_text2->substringData(0, m_offset, ec); 64 document()->copyMarkers(m_text2.get(), 0, m_offset, prefixTextNode.get(), 0); 66 parent->insertBefore(prefixTextNode.get(), m_text2.get(), ec); 70 m_text2->deleteData(0, m_offset, ec); 85 m_text2->insertData(0, prefixText, ec) [all...] |
JoinTextNodesCommand.h | 49 RefPtr<Text> m_text2; member in class:WebCore::JoinTextNodesCommand
|
SplitTextNodeCommand.h | 49 RefPtr<Text> m_text2; member in class:WebCore::SplitTextNodeCommand
|