From 212f75f1cb87b356bd421671eeb76d52e0297834 Mon Sep 17 00:00:00 2001 From: paxcut <53811119+paxcut@users.noreply.github.com> Date: Sun, 15 Dec 2024 15:08:26 -0700 Subject: [PATCH] fix: Tabs messing up content of text editor (#2005) ### Problem description ### Implementation description ### Screenshots ### Additional things --- plugins/builtin/source/content/views/view_pattern_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_pattern_editor.cpp b/plugins/builtin/source/content/views/view_pattern_editor.cpp index 9ebc4b3e2..5ca64ef7d 100644 --- a/plugins/builtin/source/content/views/view_pattern_editor.cpp +++ b/plugins/builtin/source/content/views/view_pattern_editor.cpp @@ -1082,7 +1082,7 @@ namespace hex::plugin::builtin { if (!skipNewLine) m_consoleEditor.InsertText("\n"); skipNewLine = false; - m_consoleEditor.InsertText(m_console->at(lineCount + i)); + m_consoleEditor.InsertText(preprocessText(m_console->at(lineCount + i))); } m_consoleNeedsUpdate = false;