diff options
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit.cpp')
-rw-r--r-- | fpdfsdk/pdfwindow/cpwl_edit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/pdfwindow/cpwl_edit.cpp b/fpdfsdk/pdfwindow/cpwl_edit.cpp index 046fb5789f..ac1cfa94ba 100644 --- a/fpdfsdk/pdfwindow/cpwl_edit.cpp +++ b/fpdfsdk/pdfwindow/cpwl_edit.cpp @@ -361,7 +361,7 @@ CPVT_WordRange CPWL_Edit::GetSelectWordRange() const { int32_t nStart = -1; int32_t nEnd = -1; - m_pEdit->GetSel(nStart, nEnd); + m_pEdit->GetSelection(nStart, nEnd); CPVT_WordPlace wpStart = m_pEdit->WordIndexToWordPlace(nStart); CPVT_WordPlace wpEnd = m_pEdit->WordIndexToWordPlace(nEnd); @@ -455,7 +455,7 @@ bool CPWL_Edit::OnKeyDown(uint16_t nChar, uint32_t nFlag) { int nSelStart = 0; int nSelEnd = 0; - GetSel(nSelStart, nSelEnd); + GetSelection(nSelStart, nSelEnd); if (nSelStart == nSelEnd) nSelEnd = nSelStart + 1; @@ -527,7 +527,7 @@ bool CPWL_Edit::OnChar(uint16_t nChar, uint32_t nFlag) { int nSelStart = 0; int nSelEnd = 0; - GetSel(nSelStart, nSelEnd); + GetSelection(nSelStart, nSelEnd); switch (nChar) { case FWL_VKEY_Back: |