Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: xfa/fwl/basewidget/ifwl_edit.h

Issue 1973883005: ReplaceSelections() methods never called. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.cpp ('k') | xfa/fwl/lightwidget/cfwl_edit.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ 8 #define XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 int32_t CountSelRanges(); 113 int32_t CountSelRanges();
114 int32_t GetSelRange(int32_t nIndex, int32_t& nStart); 114 int32_t GetSelRange(int32_t nIndex, int32_t& nStart);
115 FWL_Error ClearSelections(); 115 FWL_Error ClearSelections();
116 int32_t GetLimit(); 116 int32_t GetLimit();
117 FWL_Error SetLimit(int32_t nLimit); 117 FWL_Error SetLimit(int32_t nLimit);
118 FWL_Error SetAliasChar(FX_WCHAR wAlias); 118 FWL_Error SetAliasChar(FX_WCHAR wAlias);
119 FWL_Error SetFormatString(const CFX_WideString& wsFormat); 119 FWL_Error SetFormatString(const CFX_WideString& wsFormat);
120 FWL_Error Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen); 120 FWL_Error Insert(int32_t nStart, const FX_WCHAR* lpText, int32_t nLen);
121 FWL_Error DeleteSelections(); 121 FWL_Error DeleteSelections();
122 FWL_Error DeleteRange(int32_t nStart, int32_t nCount = -1); 122 FWL_Error DeleteRange(int32_t nStart, int32_t nCount = -1);
123 FWL_Error ReplaceSelections(const CFX_WideStringC& wsReplace);
124 FWL_Error Replace(int32_t nStart, 123 FWL_Error Replace(int32_t nStart,
125 int32_t nLen, 124 int32_t nLen,
126 const CFX_WideStringC& wsReplace); 125 const CFX_WideStringC& wsReplace);
127 FWL_Error DoClipboard(int32_t iCmd); 126 FWL_Error DoClipboard(int32_t iCmd);
128 FX_BOOL Copy(CFX_WideString& wsCopy); 127 FX_BOOL Copy(CFX_WideString& wsCopy);
129 FX_BOOL Cut(CFX_WideString& wsCut); 128 FX_BOOL Cut(CFX_WideString& wsCut);
130 FX_BOOL Paste(const CFX_WideString& wsPaste); 129 FX_BOOL Paste(const CFX_WideString& wsPaste);
131 FX_BOOL Delete(); 130 FX_BOOL Delete();
132 FX_BOOL Redo(const CFX_ByteStringC& bsRecord); 131 FX_BOOL Redo(const CFX_ByteStringC& bsRecord);
133 FX_BOOL Undo(const CFX_ByteStringC& bsRecord); 132 FX_BOOL Undo(const CFX_ByteStringC& bsRecord);
(...skipping 10 matching lines...) Expand all
144 FX_BOOL GetSuggestWords(CFX_PointF pointf, 143 FX_BOOL GetSuggestWords(CFX_PointF pointf,
145 std::vector<CFX_ByteString>& sSuggest); 144 std::vector<CFX_ByteString>& sSuggest);
146 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf, 145 FX_BOOL ReplaceSpellCheckWord(CFX_PointF pointf,
147 const CFX_ByteStringC& bsReplace); 146 const CFX_ByteStringC& bsReplace);
148 147
149 protected: 148 protected:
150 IFWL_Edit(); 149 IFWL_Edit();
151 }; 150 };
152 151
153 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_ 152 #endif // XFA_FWL_BASEWIDGET_IFWL_EDIT_H_
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.cpp ('k') | xfa/fwl/lightwidget/cfwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698