/external/webkit/Source/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 ContainerNode* parent = m_text2->parentNode(); 53 m_text2->insertData(0, m_text1->data(), ec); 65 ContainerNode* 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 | 38 , m_text2(text) 45 ASSERT(m_text2); 46 ASSERT(m_text2->length() > 0); 48 ASSERT(m_offset < m_text2->length()); 53 ContainerNode* parent = m_text2->parentNode(); 58 String prefixText = m_text2->substringData(0, m_offset, ec); 64 document()->markers()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); 79 m_text2->insertData(0, prefixText, ec); 82 document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); 88 if (!m_text1 || !m_text2) [all...] |
JoinTextNodesCommand.h | 49 RefPtr<Text> m_text2; member in class:WebCore::JoinTextNodesCommand
|
SplitTextNodeCommand.h | 51 RefPtr<Text> m_text2; member in class:WebCore::SplitTextNodeCommand
|