mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 07:32:41 +02:00
codetools: code completion: update method body to definition: beautify
git-svn-id: trunk@34965 -
This commit is contained in:
parent
9b706b641d
commit
a6d962b329
@ -2380,7 +2380,8 @@ begin
|
||||
FromPos:=DefProcNode.StartPos;
|
||||
EndPos:=DefProcNode.EndPos;
|
||||
SourceChangeCache.MainScanner:=Scanner;
|
||||
SourceChangeCache.BeautifyCodeOptions.BeautifyProc(NewProcCode,Indent,false);
|
||||
NewProcCode:=SourceChangeCache.BeautifyCodeOptions.BeautifyStatement(
|
||||
NewProcCode,Indent,[bcfDoNotIndentFirstLine]);
|
||||
{$IFDEF VerboseCompleteMethod}
|
||||
debugln('TCodeCompletionCodeTool.CompleteMethodByBody final NewProcCode:');
|
||||
debugln(NewProcCode);
|
||||
|
Loading…
Reference in New Issue
Block a user