• Home
  • Raw
  • Download

Lines Matching refs:m_wpCaret

722     nStartChar = m_pVT->WordPlaceToWordIndex(m_wpCaret);  in GetSelection()
723 nEndChar = m_pVT->WordPlaceToWordIndex(m_wpCaret); in GetSelection()
737 return m_pVT->WordPlaceToWordIndex(m_wpCaret); in GetCaret()
743 return m_wpCaret; in GetCaretWordPlace()
907 m_pVT->UpdateWordPlace(m_wpCaret); in RearrangeAll()
909 m_pVT->UpdateWordPlace(m_wpCaret); in RearrangeAll()
917 m_pVT->UpdateWordPlace(m_wpCaret); in RearrangePart()
919 m_pVT->UpdateWordPlace(m_wpCaret); in RearrangePart()
1109 pIterator->SetAt(m_wpCaret); in ScrollToCaret()
1259 m_wpOldCaret = m_wpCaret; in SetCaret()
1260 m_wpCaret = place; in SetCaret()
1267 pIterator->SetAt(m_wpCaret); in SetCaretInfo()
1301 m_SelState.Set(m_wpCaret, m_wpCaret); in OnMouseDown()
1314 if (m_wpCaret == m_wpOldCaret) in OnMouseMove()
1317 m_SelState.SetEndPos(m_wpCaret); in OnMouseMove()
1328 SetCaret(m_pVT->GetUpWordPlace(m_wpCaret, m_ptCaret)); in OnVK_UP()
1331 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_UP()
1333 m_SelState.SetEndPos(m_wpCaret); in OnVK_UP()
1335 if (m_wpOldCaret != m_wpCaret) { in OnVK_UP()
1351 SetCaret(m_pVT->GetDownWordPlace(m_wpCaret, m_ptCaret)); in OnVK_DOWN()
1354 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_DOWN()
1356 m_SelState.SetEndPos(m_wpCaret); in OnVK_DOWN()
1358 if (m_wpOldCaret != m_wpCaret) { in OnVK_DOWN()
1375 if (m_wpCaret == m_pVT->GetLineBeginPlace(m_wpCaret) && in OnVK_LEFT()
1376 m_wpCaret != m_pVT->GetSectionBeginPlace(m_wpCaret)) { in OnVK_LEFT()
1377 SetCaret(m_pVT->GetPrevWordPlace(m_wpCaret)); in OnVK_LEFT()
1379 SetCaret(m_pVT->GetPrevWordPlace(m_wpCaret)); in OnVK_LEFT()
1381 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_LEFT()
1383 m_SelState.SetEndPos(m_wpCaret); in OnVK_LEFT()
1385 if (m_wpOldCaret != m_wpCaret) { in OnVK_LEFT()
1401 if (m_wpCaret == m_pVT->GetLineBeginPlace(m_wpCaret) && in OnVK_LEFT()
1402 m_wpCaret != m_pVT->GetSectionBeginPlace(m_wpCaret)) { in OnVK_LEFT()
1403 SetCaret(m_pVT->GetPrevWordPlace(m_wpCaret)); in OnVK_LEFT()
1405 SetCaret(m_pVT->GetPrevWordPlace(m_wpCaret)); in OnVK_LEFT()
1418 SetCaret(m_pVT->GetNextWordPlace(m_wpCaret)); in OnVK_RIGHT()
1419 if (m_wpCaret == m_pVT->GetLineEndPlace(m_wpCaret) && in OnVK_RIGHT()
1420 m_wpCaret != m_pVT->GetSectionEndPlace(m_wpCaret)) in OnVK_RIGHT()
1421 SetCaret(m_pVT->GetNextWordPlace(m_wpCaret)); in OnVK_RIGHT()
1424 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_RIGHT()
1426 m_SelState.SetEndPos(m_wpCaret); in OnVK_RIGHT()
1428 if (m_wpOldCaret != m_wpCaret) { in OnVK_RIGHT()
1444 SetCaret(m_pVT->GetNextWordPlace(m_wpCaret)); in OnVK_RIGHT()
1445 if (m_wpCaret == m_pVT->GetLineEndPlace(m_wpCaret) && in OnVK_RIGHT()
1446 m_wpCaret != m_pVT->GetSectionEndPlace(m_wpCaret)) { in OnVK_RIGHT()
1447 SetCaret(m_pVT->GetNextWordPlace(m_wpCaret)); in OnVK_RIGHT()
1464 SetCaret(m_pVT->GetLineBeginPlace(m_wpCaret)); in OnVK_HOME()
1467 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_HOME()
1469 m_SelState.SetEndPos(m_wpCaret); in OnVK_HOME()
1484 SetCaret(m_pVT->GetLineBeginPlace(m_wpCaret)); in OnVK_HOME()
1501 SetCaret(m_pVT->GetLineEndPlace(m_wpCaret)); in OnVK_END()
1504 m_SelState.Set(m_wpOldCaret, m_wpCaret); in OnVK_END()
1506 m_SelState.SetEndPos(m_wpCaret); in OnVK_END()
1521 SetCaret(m_pVT->GetLineEndPlace(m_wpCaret)); in OnVK_END()
1537 m_pVT->UpdateWordPlace(m_wpCaret); in InsertWord()
1539 m_pVT->InsertWord(m_wpCaret, word, GetCharSetFromUnicode(word, charset))); in InsertWord()
1540 m_SelState.Set(m_wpCaret, m_wpCaret); in InsertWord()
1541 if (m_wpCaret == m_wpOldCaret) in InsertWord()
1546 this, m_wpOldCaret, m_wpCaret, word, charset)); in InsertWord()
1549 PaintInsertText(m_wpOldCaret, m_wpCaret); in InsertWord()
1552 m_pOperationNotify->OnInsertWord(m_wpCaret, m_wpOldCaret); in InsertWord()
1561 m_pVT->UpdateWordPlace(m_wpCaret); in InsertReturn()
1562 SetCaret(m_pVT->InsertSection(m_wpCaret)); in InsertReturn()
1563 m_SelState.Set(m_wpCaret, m_wpCaret); in InsertReturn()
1564 if (m_wpCaret == m_wpOldCaret) in InsertReturn()
1569 pdfium::MakeUnique<CFXEU_InsertReturn>(this, m_wpOldCaret, m_wpCaret)); in InsertReturn()
1572 RearrangePart(CPVT_WordRange(m_wpOldCaret, m_wpCaret)); in InsertReturn()
1579 m_pOperationNotify->OnInsertReturn(m_wpCaret, m_wpOldCaret); in InsertReturn()
1585 if (!m_pVT->IsValid() || m_wpCaret == m_pVT->GetBeginWordPlace()) in Backspace()
1591 pIterator->SetAt(m_wpCaret); in Backspace()
1594 m_pVT->UpdateWordPlace(m_wpCaret); in Backspace()
1595 SetCaret(m_pVT->BackSpaceWord(m_wpCaret)); in Backspace()
1596 m_SelState.Set(m_wpCaret, m_wpCaret); in Backspace()
1597 if (m_wpCaret == m_wpOldCaret) in Backspace()
1602 this, m_wpOldCaret, m_wpCaret, word.Word, word.nCharset)); in Backspace()
1605 RearrangePart(CPVT_WordRange(m_wpCaret, m_wpOldCaret)); in Backspace()
1612 m_pOperationNotify->OnBackSpace(m_wpCaret, m_wpOldCaret); in Backspace()
1618 if (!m_pVT->IsValid() || m_wpCaret == m_pVT->GetEndWordPlace()) in Delete()
1624 pIterator->SetAt(m_pVT->GetNextWordPlace(m_wpCaret)); in Delete()
1627 m_pVT->UpdateWordPlace(m_wpCaret); in Delete()
1628 bool bSecEnd = (m_wpCaret == m_pVT->GetSectionEndPlace(m_wpCaret)); in Delete()
1629 SetCaret(m_pVT->DeleteWord(m_wpCaret)); in Delete()
1630 m_SelState.Set(m_wpCaret, m_wpCaret); in Delete()
1634 this, m_wpOldCaret, m_wpCaret, word.Word, word.nCharset, bSecEnd)); in Delete()
1637 this, m_wpOldCaret, m_wpCaret, word.Word, word.nCharset, bSecEnd)); in Delete()
1641 RearrangePart(CPVT_WordRange(m_wpOldCaret, m_wpCaret)); in Delete()
1648 m_pOperationNotify->OnDelete(m_wpCaret, m_wpOldCaret); in Delete()
1676 m_SelState.Set(m_wpCaret, m_wpCaret); in Clear()
1685 m_pOperationNotify->OnClear(m_wpCaret, m_wpOldCaret); in Clear()
1697 m_pVT->UpdateWordPlace(m_wpCaret); in InsertText()
1698 SetCaret(DoInsertText(m_wpCaret, sText, charset)); in InsertText()
1699 m_SelState.Set(m_wpCaret, m_wpCaret); in InsertText()
1700 if (m_wpCaret == m_wpOldCaret) in InsertText()
1705 this, m_wpOldCaret, m_wpCaret, sText, charset)); in InsertText()
1708 PaintInsertText(m_wpOldCaret, m_wpCaret); in InsertText()
1711 m_pOperationNotify->OnInsertText(m_wpCaret, m_wpOldCaret); in InsertText()
1761 pIterator->SetAt(m_wpCaret); in SetCaretOrigin()