summaryrefslogtreecommitdiff
path: root/fpdfsdk/pdfwindow/cpwl_edit.cpp
diff options
context:
space:
mode:
authorDiana Gage <drgage@google.com>2017-07-20 17:20:31 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-07-21 05:08:42 +0000
commit4d02e904b01502cea5b76f316e07b0f6db5c5dbc (patch)
tree12d53fba09ea6b6528ac000bc50b4c1202c131ad /fpdfsdk/pdfwindow/cpwl_edit.cpp
parentd60609d3a12fb0e9925166b027c3f57884b77c5d (diff)
downloadpdfium-4d02e904b01502cea5b76f316e07b0f6db5c5dbc.tar.xz
Change "Sel" abbreviation to "Selection".
This CL changes SetSel() and GetSel() to SetSelection() and GetSelection() in CFX_Edit and CPWL_EditCtrl, and SetEditSel() and GetEditSel() to SetEditSelection() and GetEditSelection() in CPWL_ComboBox. Change-Id: Idd984932bda139a04e99193e519756980b7d4397 Reviewed-on: https://pdfium-review.googlesource.com/8610 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/pdfwindow/cpwl_edit.cpp')
-rw-r--r--fpdfsdk/pdfwindow/cpwl_edit.cpp6
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: