From a08dbf3888dfac89ecb3f90e11d03a39f8cedf2b Mon Sep 17 00:00:00 2001 From: Ricardo Subtil Date: Sun, 29 Aug 2021 10:35:13 +0100 Subject: Fix messages with embedded newlines not being properly presented --- editor/editor_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 296a33d917..f91cb7f607 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -195,7 +195,7 @@ void EditorLog::add_message(const String &p_msg, MessageType p_type) { // get grouped together and sent to the editor log as one message. This can mess with the // search functionality (see the comments on the PR above for more details). This behaviour // also matches that of other IDE's. - Vector lines = p_msg.split("\n", false); + Vector lines = p_msg.split("\n", true); for (int i = 0; i < lines.size(); i++) { _process_message(lines[i], p_type); -- cgit v1.2.3