diff options
author | Sebastian Geerken <devnull@localhost> | 2013-01-06 12:02:29 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-01-06 12:02:29 +0100 |
commit | b9222b1aa44b4c69778445bbaea324a5712cea0a (patch) | |
tree | 823224ce8ed13aec165df5dc8a0c1c73110249d7 /dw/findtext.cc | |
parent | cc89e1ccf89b1d684d7615a4ea8e526b7345cd38 (diff) |
Make DeepIterator able to follow widget references; activated this for findtext.
Diffstat (limited to 'dw/findtext.cc')
-rw-r--r-- | dw/findtext.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dw/findtext.cc b/dw/findtext.cc index ad136431..9e9076dc 100644 --- a/dw/findtext.cc +++ b/dw/findtext.cc @@ -91,8 +91,7 @@ FindtextState::Result FindtextState::search (const char *key, bool caseSens, if (iterator) delete iterator; - /** \todo Reactivate followReferences = true, as soon as it works. */ - iterator = new CharIterator (widget, false); + iterator = new CharIterator (widget, true); if (backwards) { /* Go to end */ @@ -124,8 +123,7 @@ FindtextState::Result FindtextState::search (const char *key, bool caseSens, } else { // Nothing found anymore, reset the state for the next trial. delete iterator; - /** \todo Reactivate followReferences = true, as soon as it works. */ - iterator = new CharIterator (widget, false); + iterator = new CharIterator (widget, true); if (backwards) { /* Go to end */ while (iterator->next ()) ; |