mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 17:11:59 +02:00
Jedi Code Format: Respect "Max consecutive blank lines before removal" setting. Issue #39114, patch by Udo Sommer.
git-svn-id: trunk@65334 -
This commit is contained in:
parent
84e840566e
commit
37b1f57731
@ -74,7 +74,7 @@ begin
|
||||
lcNext := lcSourceToken.NextTokenWithExclusions([ttWhiteSpace, ttReturn]);
|
||||
|
||||
liReturnCount := 0;
|
||||
liMaxReturns := 2;
|
||||
liMaxReturns := Succ(FormattingSettings.Returns.MaxBlankLinesInSection);
|
||||
lcTest := lcSourceToken;
|
||||
|
||||
{ remove all returns up to that point (except one) }
|
||||
|
@ -76,7 +76,7 @@ begin
|
||||
exit;
|
||||
|
||||
liReturnCount := 0;
|
||||
liMaxReturns := 2;
|
||||
liMaxReturns := Succ(FormattingSettings.Returns.MaxBlankLinesInSection);
|
||||
lcTest := lcSourceToken;
|
||||
|
||||
{ remove all returns up to that point (except one) }
|
||||
|
Loading…
Reference in New Issue
Block a user