From 80df4701d65a949e8781ae6476988ea13637e318 Mon Sep 17 00:00:00 2001 From: royqh1979 Date: Sat, 2 Oct 2021 09:16:44 +0800 Subject: [PATCH] work save --- RedPandaIDE/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedPandaIDE/editor.cpp b/RedPandaIDE/editor.cpp index 82a63f85..6cf3900c 100644 --- a/RedPandaIDE/editor.cpp +++ b/RedPandaIDE/editor.cpp @@ -1732,7 +1732,7 @@ void Editor::insertCodeSnippet(const QString &code) auto action = finally([this]{ endUpdate(); }); - QStringList sl = parseMacros(code); + QStringList sl = TextToLines(parseMacros(code)); int lastI=0; int spaceCount = GetLeftSpacing( leftSpaces(lineText()),true).length();