diff options
author | Diana Gage <drgage@google.com> | 2017-07-20 17:20:31 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-21 05:08:42 +0000 |
commit | 4d02e904b01502cea5b76f316e07b0f6db5c5dbc (patch) | |
tree | 12d53fba09ea6b6528ac000bc50b4c1202c131ad /fpdfsdk/fxedit/fxet_edit.h | |
parent | d60609d3a12fb0e9925166b027c3f57884b77c5d (diff) | |
download | pdfium-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/fxedit/fxet_edit.h')
-rw-r--r-- | fpdfsdk/fxedit/fxet_edit.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fxedit/fxet_edit.h b/fpdfsdk/fxedit/fxet_edit.h index c0c8442d52..4ae03e2303 100644 --- a/fpdfsdk/fxedit/fxet_edit.h +++ b/fpdfsdk/fxedit/fxet_edit.h @@ -361,8 +361,8 @@ class CFX_Edit { CFX_WideString GetRangeText(const CPVT_WordRange& range) const; int32_t GetHorzScale() const; float GetCharSpace() const; - void SetSel(int32_t nStartChar, int32_t nEndChar); - void GetSel(int32_t& nStartChar, int32_t& nEndChar) const; + void SetSelection(int32_t nStartChar, int32_t nEndChar); + void GetSelection(int32_t& nStartChar, int32_t& nEndChar) const; void SelectAll(); void SelectNone(); bool IsSelected() const; @@ -397,7 +397,7 @@ class CFX_Edit { friend class CFXEU_Clear; friend class CFXEU_InsertText; - void SetSel(const CPVT_WordPlace& begin, const CPVT_WordPlace& end); + void SetSelection(const CPVT_WordPlace& begin, const CPVT_WordPlace& end); void RearrangeAll(); void RearrangePart(const CPVT_WordRange& range); |