Lines Matching refs:m_textIterator
1266 , m_textIterator(r, behavior)
1268 while (!atEnd() && m_textIterator.length() == 0)
1269 m_textIterator.advance();
1274 RefPtr<Range> r = m_textIterator.range();
1275 if (!m_textIterator.atEnd()) {
1276 if (m_textIterator.length() <= 1) {
1300 // easy if there is enough left in the current m_textIterator run
1301 int remaining = m_textIterator.length() - m_runOffset;
1308 // exhaust the current m_textIterator run
1312 // move to a subsequent m_textIterator run
1313 for (m_textIterator.advance(); !atEnd(); m_textIterator.advance()) {
1314 int runLength = m_textIterator.length();
1318 // see whether this is m_textIterator to use
1325 // exhaust this m_textIterator run
1331 // ran to the end of the m_textIterator... no more runs left
1374 , m_textIterator(range, behavior)
1376 while (!atEnd() && !m_textIterator.length())
1377 m_textIterator.advance();
1382 RefPtr<Range> r = m_textIterator.range();
1383 if (!m_textIterator.atEnd()) {
1384 if (m_textIterator.length() <= 1)
1408 int remaining = m_textIterator.length() - m_runOffset;
1418 for (m_textIterator.advance(); !atEnd(); m_textIterator.advance()) {
1419 int runLength = m_textIterator.length();
1449 , m_textIterator(r)
1474 ASSERT(!m_textIterator.atEnd());
1475 m_textIterator.advance();
1480 while (!m_textIterator.atEnd() && m_textIterator.length() == 0)
1481 m_textIterator.advance();
1482 m_range = m_textIterator.range();
1484 if (m_textIterator.atEnd())
1489 if (isSpaceOrNewline(m_textIterator.characters()[m_textIterator.length() - 1]))
1494 m_previousText = m_textIterator.characters();
1495 m_previousLength = m_textIterator.length();
1499 m_textIterator.advance();
1500 if (m_textIterator.atEnd() || m_textIterator.length() == 0 || isSpaceOrNewline(m_textIterator.characters()[0])) {
1510 m_buffer.append(m_textIterator.characters(), m_textIterator.length());
1512 m_range->setEnd(m_textIterator.range()->endContainer(), m_textIterator.range()->endOffset(), exception);
1522 return m_textIterator.length();
1531 return m_textIterator.characters();