From 6aa766f8ca861af1f47935b99d14662c24d7cbd7 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Thu, 27 May 2021 15:51:21 +0000 Subject: [PATCH] HexEditor: Add 'Find All' option to Find Dialog to find all matches --- .../Applications/HexEditor/FindDialog.cpp | 38 +++++++-- .../Applications/HexEditor/FindDialog.gml | 9 +- Userland/Applications/HexEditor/FindDialog.h | 7 +- Userland/Applications/HexEditor/HexEditor.cpp | 39 ++++++++- Userland/Applications/HexEditor/HexEditor.h | 3 + .../HexEditor/HexEditorWidget.cpp | 68 ++++++++++++--- .../Applications/HexEditor/HexEditorWidget.h | 4 + .../HexEditor/HexEditorWindow.gml | 18 +++- .../HexEditor/SearchResultsModel.h | 82 +++++++++++++++++++ 9 files changed, 238 insertions(+), 30 deletions(-) create mode 100644 Userland/Applications/HexEditor/SearchResultsModel.h diff --git a/Userland/Applications/HexEditor/FindDialog.cpp b/Userland/Applications/HexEditor/FindDialog.cpp index 84ffbfb65c..1c334c14e0 100644 --- a/Userland/Applications/HexEditor/FindDialog.cpp +++ b/Userland/Applications/HexEditor/FindDialog.cpp @@ -29,7 +29,7 @@ static const Vector