work save
This commit is contained in:
parent
23b651f0c4
commit
80df4701d6
|
@ -1732,7 +1732,7 @@ void Editor::insertCodeSnippet(const QString &code)
|
||||||
auto action = finally([this]{
|
auto action = finally([this]{
|
||||||
endUpdate();
|
endUpdate();
|
||||||
});
|
});
|
||||||
QStringList sl = parseMacros(code);
|
QStringList sl = TextToLines(parseMacros(code));
|
||||||
int lastI=0;
|
int lastI=0;
|
||||||
int spaceCount = GetLeftSpacing(
|
int spaceCount = GetLeftSpacing(
|
||||||
leftSpaces(lineText()),true).length();
|
leftSpaces(lineText()),true).length();
|
||||||
|
|
Loading…
Reference in New Issue