/external/webkit/Source/WebCore/editing/ |
JoinTextNodesCommand.cpp | 34 : SimpleEditCommand(text1->document()), m_text1(text1), m_text2(text2) 36 ASSERT(m_text1); 38 ASSERT(m_text1->nextSibling() == m_text2); 39 ASSERT(m_text1->length() > 0); 45 if (m_text1->nextSibling() != m_text2) 53 m_text2->insertData(0, m_text1->data(), ec); 57 m_text1->remove(ec); 62 if (m_text1->parentNode()) 71 parent->insertBefore(m_text1.get(), m_text2.get(), ec); 75 m_text2->deleteData(0, m_text1->length(), ec) [all...] |
SplitTextNodeCommand.cpp | 62 m_text1 = Text::create(document(), prefixText); 63 ASSERT(m_text1); 64 document()->markers()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); 71 if (!m_text1 || !m_text1->rendererIsEditable()) 74 ASSERT(m_text1->document() == document()); 76 String prefixText = m_text1->data(); 82 document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); 83 m_text1->remove(ec); 88 if (!m_text1 || !m_text2 [all...] |
JoinTextNodesCommand.h | 48 RefPtr<Text> m_text1; member in class:WebCore::JoinTextNodesCommand
|
SplitTextNodeCommand.h | 50 RefPtr<Text> m_text1; member in class:WebCore::SplitTextNodeCommand
|