26#include <wx/srchctrl.h>
37 void OnScroll(wxScrollWinEvent &event);
38 void OnToggleHorizontalSync(wxCommandEvent &event);
39 void OnSearch(wxCommandEvent &event);
40 void OnSearchCancel(wxCommandEvent &event);
41 void OnDiffNext(wxCommandEvent &event);
42 void OnDiffPrev(wxCommandEvent &event);
44 std::vector<Worksheet *> m_worksheets;
45 std::vector<std::unique_ptr<Configuration>> m_worksheetConfigurations;
47 wxSearchCtrl *m_searchCtrl =
nullptr;
48 wxRadioButton *m_searchDownRadio =
nullptr;
49 wxRadioButton *m_searchUpRadio =
nullptr;
50 int m_currentDiffIdx = -1;
51 bool m_syncing =
false;
52 bool m_syncHorizontal =
true;
53 bool m_searchDown =
true;
55 void LoadFiles(
const wxArrayString &files);
61 std::vector<DiffEntry> m_diffEntries;
62 std::vector<int> m_lastScrollY;
This file defines the class Worksheet.
The configuration storage for the current worksheet.
Definition: Configuration.h:86
Definition: DiffFrame.h:31
A cell grouping input (and, if there is one, also the output) cell to a foldable item.
Definition: GroupCell.h:87