forked from qt-creator/qt-creator
Add replace action. Replace the icons for replace with text-only.
Also show "Replace", "Replace & Find" and "Replace All" in the tool bar, i.e. don't show the "Replace & Find Previous" in the tool bar to avoid it getting crowded. Reviewed-by: Thorbjørn Lindeijer
This commit is contained in:
@@ -58,6 +58,8 @@ public:
|
||||
|
||||
Result findIncremental(const QString &txt, Find::IFindSupport::FindFlags findFlags);
|
||||
Result findStep(const QString &txt, Find::IFindSupport::FindFlags findFlags);
|
||||
void replace(const QString &, const QString &,
|
||||
Find::IFindSupport::FindFlags ) { }
|
||||
bool replaceStep(const QString &, const QString &,
|
||||
Find::IFindSupport::FindFlags ) { return false; }
|
||||
int replaceAll(const QString &, const QString &,
|
||||
@@ -85,6 +87,8 @@ public:
|
||||
|
||||
Result findIncremental(const QString &txt, Find::IFindSupport::FindFlags findFlags);
|
||||
Result findStep(const QString &txt, Find::IFindSupport::FindFlags findFlags);
|
||||
void replace(const QString &, const QString &,
|
||||
Find::IFindSupport::FindFlags ) { }
|
||||
bool replaceStep(const QString &, const QString &,
|
||||
Find::IFindSupport::FindFlags ) { return false; }
|
||||
int replaceAll(const QString &, const QString &,
|
||||
|
||||
Reference in New Issue
Block a user