Chromium Code Reviews| Index: xfa/fwl/core/cfwl_edit.h |
| diff --git a/xfa/fwl/core/cfwl_edit.h b/xfa/fwl/core/cfwl_edit.h |
| index a3a77a7f52121622bfe037252c36fc8b600cb3a0..f7dc5e7319395f428747ecdbab88269178860f81 100644 |
| --- a/xfa/fwl/core/cfwl_edit.h |
| +++ b/xfa/fwl/core/cfwl_edit.h |
| @@ -16,18 +16,24 @@ class IFDE_TxtEdtDoRecord; |
| class CFWL_Edit : public CFWL_Widget { |
| public: |
| - CFWL_Edit(const IFWL_App*); |
| + explicit CFWL_Edit(const IFWL_App*); |
| ~CFWL_Edit() override; |
| void Initialize(); |
| void SetText(const CFX_WideString& wsText); |
| - void GetText(CFX_WideString& wsText, int32_t nStart = 0, int32_t nCount = -1); |
| - int32_t CountSelRanges(); |
| - int32_t GetSelRange(int32_t nIndex, int32_t& nStart); |
| - int32_t GetLimit(); |
| + void GetText(CFX_WideString& wsText, |
| + int32_t nStart = 0, |
| + int32_t nCount = -1) const; |
| + |
| + int32_t CountSelRanges() const; |
| + int32_t GetSelRange(int32_t nIndex, int32_t& nStart) const; |
|
Tom Sepez
2016/11/15 18:44:59
return range struct instead?
dsinclair
2016/11/15 19:10:23
Acknowledged.
|
| + |
| + int32_t GetLimit() const; |
| void SetLimit(int32_t nLimit); |
| + |
| void SetAliasChar(FX_WCHAR wAlias); |
| + |
| void SetScrollOffset(FX_FLOAT fScrollOffset); |
| }; |