summaryrefslogtreecommitdiff
path: root/src/gui_htmlattrtext.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-07-23 01:20:04 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-07-23 01:20:04 +0200
commit4f9cb7f330beab9fb09f52421b2dbd15835476e2 (patch)
tree328517eb3aeea310d0328c08953f57ae663e8d75 /src/gui_htmlattrtext.cc
parentc278eac390bd37c5ca8b319ed15605211822c08f (diff)
Add proxy to GUI
Access via "Setup..." in main menu Uses a socketpair to connect monitor so only proxy port is open
Diffstat (limited to 'src/gui_htmlattrtext.cc')
-rw-r--r--src/gui_htmlattrtext.cc5
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_;