Home
last modified time | relevance | path

Searched refs:m_text2 (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/editing/
DSplitTextNodeCommand.cpp38 , m_text2(text) in SplitTextNodeCommand()
45 ASSERT(m_text2); in SplitTextNodeCommand()
46 ASSERT(m_text2->length() > 0); in SplitTextNodeCommand()
48 ASSERT(m_offset < m_text2->length()); in SplitTextNodeCommand()
53 ContainerNode* parent = m_text2->parentNode(); in doApply()
58 String prefixText = m_text2->substringData(0, m_offset, ec); in doApply()
64 document()->markers()->copyMarkers(m_text2.get(), 0, m_offset, m_text1.get(), 0); in doApply()
79 m_text2->insertData(0, prefixText, ec); in doUnapply()
82 document()->markers()->copyMarkers(m_text1.get(), 0, prefixText.length(), m_text2.get(), 0); in doUnapply()
88 if (!m_text1 || !m_text2) in doReapply()
[all …]
DJoinTextNodesCommand.cpp34 : SimpleEditCommand(text1->document()), m_text1(text1), m_text2(text2) in JoinTextNodesCommand()
37 ASSERT(m_text2); in JoinTextNodesCommand()
38 ASSERT(m_text1->nextSibling() == m_text2); in JoinTextNodesCommand()
40 ASSERT(m_text2->length() > 0); in JoinTextNodesCommand()
45 if (m_text1->nextSibling() != m_text2) in doApply()
48 ContainerNode* parent = m_text2->parentNode(); in doApply()
53 m_text2->insertData(0, m_text1->data(), ec); in doApply()
65 ContainerNode* parent = m_text2->parentNode(); in doUnapply()
71 parent->insertBefore(m_text1.get(), m_text2.get(), ec); in doUnapply()
75 m_text2->deleteData(0, m_text1->length(), ec); in doUnapply()
DJoinTextNodesCommand.h49 RefPtr<Text> m_text2; variable
DSplitTextNodeCommand.h51 RefPtr<Text> m_text2; variable