Use custom tab width and tabs-to-spaces setting uniquely in all places where we generate code. Provides a new CodeIndent() helper. Closes #1330

This commit is contained in:
Ansgar Becker
2024-05-19 12:22:43 +02:00
parent a378e6ec94
commit db014bda03
12 changed files with 107 additions and 99 deletions

View File

@ -558,7 +558,7 @@ begin
Params.Add(tmp);
end;
if Params.Count > 0 then
Result := Result + CRLF + #9 + Implode(','+CRLF+#9, Params) + CRLF;
Result := Result + sLineBreak + CodeIndent + Implode(',' + sLineBreak + CodeIndent, Params) + sLineBreak;
Result := Result + ')'+CRLF;
if comboReturns.Enabled then
Result := Result + 'RETURNS '+comboReturns.Text+CRLF;