diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-06-28 23:35:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 23:35:53 +0200 |
commit | b730d2ee09a8fdc4eaa44efe9afc083d907f80c3 (patch) | |
tree | 0ed1a5563e639656ccc63749a2f53add1733965d /core/debugger/remote_debugger.h | |
parent | 0cd049e4112ab8d4ee2ebd6869d114bdf754c3bb (diff) | |
parent | c6291bcd8a49055ce2158f88759a487de5b8d1bd (diff) | |
download | redot-engine-b730d2ee09a8fdc4eaa44efe9afc083d907f80c3.tar.gz |
Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-output
Adding print_rich() for printing with BBCode
Diffstat (limited to 'core/debugger/remote_debugger.h')
-rw-r--r-- | core/debugger/remote_debugger.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/debugger/remote_debugger.h b/core/debugger/remote_debugger.h index fdb312ae68..fe4bbe86ea 100644 --- a/core/debugger/remote_debugger.h +++ b/core/debugger/remote_debugger.h @@ -44,6 +44,7 @@ public: enum MessageType { MESSAGE_TYPE_LOG, MESSAGE_TYPE_ERROR, + MESSAGE_TYPE_LOG_RICH, }; private: @@ -82,7 +83,7 @@ private: Thread::ID flush_thread = 0; PrintHandlerList phl; - static void _print_handler(void *p_this, const String &p_string, bool p_error); + static void _print_handler(void *p_this, const String &p_string, bool p_error, bool p_rich); ErrorHandlerList eh; static void _err_handler(void *p_this, const char *p_func, const char *p_file, int p_line, const char *p_err, const char *p_descr, bool p_editor_notify, ErrorHandlerType p_type); |