Lines Matching refs:m_pTxtBuf
56 : m_pTxtBuf(new CFDE_TxtEdtBuf()), in CFDE_TxtEdtEngine()
125 int32_t nPlateSize = std::min(nStreamLength, m_pTxtBuf->GetChunkSize()); in SetTextByStream()
131 m_pTxtBuf->Insert(nIndex, lpwstr, nRead); in SetTextByStream()
137 m_pTxtBuf->Insert(nIndex, &m_wLineEnd, 1); in SetTextByStream()
154 m_pTxtBuf->SetText(wsTemp); in SetText()
156 m_pTxtBuf->Insert(nLength, &m_wLineEnd, 1); in SetText()
170 CFX_WideString wsText = m_pTxtBuf->GetRange(nStart, nCount); in GetText()
397 FX_WCHAR wChar = m_pTxtBuf->GetCharByIndex(nStart - 1); in Insert()
422 if (nStart > 2 && m_pTxtBuf->GetCharByIndex(nStart - 1) == L'\n' && in Delete()
423 m_pTxtBuf->GetCharByIndex(nStart - 2) == L'\r') { in Delete()
433 (m_pTxtBuf->GetCharByIndex(nStart) == L'\r') && in Delete()
434 (m_pTxtBuf->GetCharByIndex(nStart + 1) == L'\n')) { in Delete()
443 CFX_WideString wsRange = m_pTxtBuf->GetRange(nStart, nCount); in Delete()
502 FX_WCHAR wChar = m_pTxtBuf->GetCharByIndex(nStart - 1); in Replace()
677 return m_pTxtBuf.get(); in GetTextBuf()
681 return m_pTxtBuf->GetTextLength() - 1; in GetTextBufLength()
705 if (!m_pTxtBuf) in CreateCharIter()
707 return new CFDE_TxtEdtBuf::Iterator(m_pTxtBuf.get()); in CreateCharIter()
833 m_pTxtBuf->Insert(nStart, lpText, nLength); in Inner_Insert()
847 nCount = m_pTxtBuf->GetTextLength() - nStart; in Inner_DeleteRange()
850 ASSERT(nStart >= 0 && nEnd < m_pTxtBuf->GetTextLength()); in Inner_DeleteRange()
873 m_pTxtBuf->Delete(nStart, nCount); in Inner_DeleteRange()
907 ASSERT((nStart + nCount) <= m_pTxtBuf->GetTextLength()); in DeleteRange_DoRecord()
909 CFX_WideString wsRange = m_pTxtBuf->GetRange(nStart, nCount); in DeleteRange_DoRecord()
924 m_pTxtBuf->Clear(false); in ResetEngine()
934 new CFDE_TxtEdtBuf::Iterator(m_pTxtBuf.get())); in RebuildParagraphs()
1153 ASSERT(nIndex <= m_pTxtBuf->GetTextLength()); in MovePage2Char()
1194 ASSERT(nIndex >= 0 && nIndex < m_pTxtBuf->GetTextLength()); in TextPos2ParagPos()
1220 if (m_nCaret == m_pTxtBuf->GetTextLength() - 1) in MoveForward()
1224 if ((nCaret + 1 < m_pTxtBuf->GetTextLength()) && in MoveForward()
1225 (m_pTxtBuf->GetCharByIndex(nCaret) == L'\r') && in MoveForward()
1226 (m_pTxtBuf->GetCharByIndex(nCaret + 1) == L'\n')) { in MoveForward()
1239 if (nCaret > 2 && m_pTxtBuf->GetCharByIndex(nCaret - 1) == L'\n' && in MoveBackward()
1240 m_pTxtBuf->GetCharByIndex(nCaret - 2) == L'\r') { in MoveBackward()
1322 FX_WCHAR wChar = m_pTxtBuf->GetCharByIndex(nIndex); in MoveLineEnd()
1330 wChar = m_pTxtBuf->GetCharByIndex(nIndex); in MoveLineEnd()
1356 FX_WCHAR wChar = m_pTxtBuf->GetCharByIndex(nIndex); in MoveParagEnd()
1359 wChar = m_pTxtBuf->GetCharByIndex(nIndex); in MoveParagEnd()