Replaced stack memory highlighting with grouping, to group stack memory and present annotations

This commit is contained in:
Nav
2023-03-11 17:50:21 +00:00
parent 69a4c4062e
commit 92b0e51a87
13 changed files with 410 additions and 51 deletions

View File

@@ -166,9 +166,9 @@ namespace Bloom
auto& hexViewerSettings = inspectionPaneSettings.hexViewerWidgetSettings;
const auto hexViewerSettingsObj = jsonObject.find("hexViewerSettings")->toObject();
if (hexViewerSettingsObj.contains("highlightStackMemory")) {
hexViewerSettings.highlightStackMemory =
hexViewerSettingsObj.value("highlightStackMemory").toBool();
if (hexViewerSettingsObj.contains("groupStackMemory")) {
hexViewerSettings.groupStackMemory =
hexViewerSettingsObj.value("groupStackMemory").toBool();
}
if (hexViewerSettingsObj.contains("highlightFocusedMemory")) {
@@ -284,7 +284,7 @@ namespace Bloom
const auto& hexViewerSettings = inspectionPaneSettings.hexViewerWidgetSettings;
settingsObj.insert("hexViewerSettings", QJsonObject({
{"highlightStackMemory", hexViewerSettings.highlightStackMemory},
{"groupStackMemory", hexViewerSettings.groupStackMemory},
{"highlightFocusedMemory", hexViewerSettings.highlightFocusedMemory},
{"highlightHoveredRowAndCol", hexViewerSettings.highlightHoveredRowAndCol},
{"displayAsciiValues", hexViewerSettings.displayAsciiValues},