diff options
author | ck <qt-info@nokia.com> | 2009-09-09 17:11:00 +0200 |
---|---|---|
committer | ck <qt-info@nokia.com> | 2009-09-09 17:11:00 +0200 |
commit | 6f5cea2aaafb6475cf725413de04c5cc70d43888 (patch) | |
tree | cacec3ffdbdeb6d4ea79584fdb0b450ce8f8406e /src/plugins/find/basetextfind.h | |
parent | 85dcd851da2e1da0ca60a200ef69d0817515b07f (diff) | |
download | qt-creator-6f5cea2aaafb6475cf725413de04c5cc70d43888.tar.gz |
Various improvements for BinEditor.
- Saving to file only takes modified data into account.
- Search functionality does not exhaust memory anymore.
- Searches can be canceled. This required updating the IFindSupport
interface and all classes implementing it. No functional changes
were done in those.
Reviewed-by: mae
Diffstat (limited to 'src/plugins/find/basetextfind.h')
-rw-r--r-- | src/plugins/find/basetextfind.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/find/basetextfind.h b/src/plugins/find/basetextfind.h index ec4cc0b344..97aca8f4f6 100644 --- a/src/plugins/find/basetextfind.h +++ b/src/plugins/find/basetextfind.h @@ -53,8 +53,8 @@ public: QString currentFindString() const; QString completedFindString() const; - bool findIncremental(const QString &txt, IFindSupport::FindFlags findFlags); - bool findStep(const QString &txt, IFindSupport::FindFlags findFlags); + Result findIncremental(const QString &txt, IFindSupport::FindFlags findFlags); + Result findStep(const QString &txt, IFindSupport::FindFlags findFlags); bool replaceStep(const QString &before, const QString &after, IFindSupport::FindFlags findFlags); int replaceAll(const QString &before, const QString &after, |