diff options
Diffstat (limited to 'src/gui_htmlattrtext.cc')
| -rw-r--r-- | src/gui_htmlattrtext.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui_htmlattrtext.cc b/src/gui_htmlattrtext.cc index 24380af..ceaeba8 100644 --- a/src/gui_htmlattrtext.cc +++ b/src/gui_htmlattrtext.cc @@ -160,6 +160,11 @@ public: return text_; } + void reset() override { + text_.clear(); + ranges_.clear(); + } + private: struct Range { size_t start_; |
