mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 13:05:25 -05:00
fix: Processing and drawing of diffs
This commit is contained in:
@@ -24,6 +24,7 @@ namespace hex::plugin::diffing {
|
||||
struct Column {
|
||||
ui::HexEditor hexEditor;
|
||||
ContentRegistry::Diffing::DiffTree diffTree;
|
||||
std::vector<ContentRegistry::Diffing::DiffTree::Data> differences;
|
||||
|
||||
int provider = -1;
|
||||
i32 scrollLock = 0;
|
||||
@@ -33,6 +34,8 @@ namespace hex::plugin::diffing {
|
||||
std::function<std::optional<color_t>(u64, const u8*, size_t)> createCompareFunction(size_t otherIndex) const;
|
||||
void analyze(prv::Provider *providerA, prv::Provider *providerB);
|
||||
|
||||
void reset();
|
||||
|
||||
private:
|
||||
std::array<Column, 2> m_columns;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user