summaryrefslogtreecommitdiff
path: root/Userland/Applications/HexEditor/ValueInspectorModel.h
diff options
context:
space:
mode:
authorMetallicSquid <gcmacneil@icloud.com>2022-04-26 14:14:05 +0100
committerSam Atkins <atkinssj@gmail.com>2023-02-15 12:13:31 +0000
commiteb27b397b82d7cd4fd901a0af7685fbfb0bc2152 (patch)
tree962d98b5be24cfbed8940dc4168e07d5e97176e1 /Userland/Applications/HexEditor/ValueInspectorModel.h
parent815442b2b5edb441dac0d4478990d89fb66e2992 (diff)
downloadserenity-eb27b397b82d7cd4fd901a0af7685fbfb0bc2152.zip
HexEditor: Add selection strings to the value inspector
Strings include ASCII, UTF-8, and UTF-16 Co-authored-by: Andreas Krohn <hamburger1984@gmail.com>
Diffstat (limited to 'Userland/Applications/HexEditor/ValueInspectorModel.h')
-rw-r--r--Userland/Applications/HexEditor/ValueInspectorModel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Userland/Applications/HexEditor/ValueInspectorModel.h b/Userland/Applications/HexEditor/ValueInspectorModel.h
index 2778564988..27f22f853b 100644
--- a/Userland/Applications/HexEditor/ValueInspectorModel.h
+++ b/Userland/Applications/HexEditor/ValueInspectorModel.h
@@ -30,6 +30,9 @@ public:
ASCII,
UTF8,
UTF16,
+ ASCIIString,
+ UTF8String,
+ UTF16String,
__Count
};
@@ -100,6 +103,12 @@ public:
return "UTF-8";
case UTF16:
return "UTF-16";
+ case ASCIIString:
+ return "ASCII String";
+ case UTF8String:
+ return "UTF-8 String";
+ case UTF16String:
+ return "UTF-16 String";
default:
return "";
}