From 17158e9942a73327f176ef642a1cafcaf8cb7b03 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Mon, 13 Jan 2025 17:22:37 -0500 Subject: [PATCH] Add 'ui.log.wordWrap' setting with a default of disabled. --- ui/logview.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/logview.h b/ui/logview.h index bdf596ad3..8cbda7ece 100644 --- a/ui/logview.h +++ b/ui/logview.h @@ -254,9 +254,12 @@ class BINARYNINJAUIAPI LogView : public SidebarWidget, public FilterTarget static void setLogLevel(BNLogLevel level); static void setLogSize(size_t maxSize); + static void setWordWrap(bool wrap); static bool IsHexString(const QString& str, std::pair offsetLen); static bool StartsWith0x(const QString& str, std::pair offsetLen); + void notifyWordWrapChanged(); + void notifyFontChanged() override; void notifyThemeChanged() override; void notifyViewChanged(ViewFrame* frame) override;