Skip to content

Ghidra is a software reverse engineering (SRE) framework

Added a help entry for an action missing help

dragonmacher5d499c990e74
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm
index 43b9ae3d4b..d40b9cf7d5 100644
--- a/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm
+++ b/Ghidra/Features/Base/src/main/help/help/topics/DataTypeEditors/EnumEditor.htm
@@ -72,6 +72,14 @@
</p>
</blockquote>
</blockquote>
+
+ <h2><a name="Toggle_Hex_Mode"></a>Toggle Hex Mode</h2>
+ <blockquote>
+ <p>
+ Changes the Enum value column to show values in hex or decimal.
+ </p>
+ </blockquote>
+
<h2><a name="Add_Enum_Value"></a>Add an Enum Entry</h2>
<blockquote>
<p>Create an new enum entry by selecting the
diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java
index ec4f8ff178..e9e0c6e6bd 100644
--- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java
+++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/editor/EnumEditorProvider.java
@@ -4,9 +4,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -272,6 +272,7 @@ public class EnumEditorProvider extends ComponentProviderAdapter
private void createActions() {
hexDisplayAction = new ToggleActionBuilder("Toggle Hex Mode", plugin.getName())
+ .helpLocation(new HelpLocation(HELP_TOPIC, "Toggle_Hex_Mode"))
.menuPath("Show Enum Values in Hex")
.description("Toggles Enum value column to show values in hex or decimal")
.keyBinding("Shift-H")