add dictionary contents as message editor table column
This commit is contained in:
@@ -51,10 +51,6 @@ struct MessageData {
|
||||
return absl::StrFormat("%0X - %s", ID, ContentsParsed);
|
||||
}
|
||||
|
||||
std::string GetDumpedContents() {
|
||||
return absl::StrFormat("%000X : %s\r\n\r\n", ID, ContentsParsed);
|
||||
}
|
||||
|
||||
std::string OptimizeMessageForDictionary(std::string messageString) {
|
||||
std::stringstream protons;
|
||||
bool command = false;
|
||||
@@ -78,6 +74,11 @@ struct MessageData {
|
||||
|
||||
return finalString;
|
||||
}
|
||||
|
||||
void SetMessage(const std::string& message) {
|
||||
RawString = message;
|
||||
ContentsParsed = OptimizeMessageForDictionary(message);
|
||||
}
|
||||
};
|
||||
|
||||
struct TextElement {
|
||||
|
||||
Reference in New Issue
Block a user