From: Steve Hancock Date: Fri, 7 May 2021 14:40:27 +0000 (-0700) Subject: Added warning when -ci has to be reduced; ref rt #136415 X-Git-Tag: 20210402.01~48 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=e9e14e4bc1f10d7c784a9dffb542212b3f197319;p=perltidy.git Added warning when -ci has to be reduced; ref rt #136415 --- diff --git a/lib/Perl/Tidy/Formatter.pm b/lib/Perl/Tidy/Formatter.pm index 63c61e93..53f96838 100644 --- a/lib/Perl/Tidy/Formatter.pm +++ b/lib/Perl/Tidy/Formatter.pm @@ -1097,6 +1097,12 @@ sub check_options { && $rOpts->{'extended-continuation-indentation'} ) { $rOpts->{'continuation-indentation'} = $rOpts->{'indent-columns'}; + Warn(<{'line-up-parentheses'} ) { diff --git a/local-docs/BugLog.pod b/local-docs/BugLog.pod index 38015dfd..07c2d904 100644 --- a/local-docs/BugLog.pod +++ b/local-docs/BugLog.pod @@ -2,6 +2,14 @@ =over 4 +=item B + +In commit c16c5ee an update was made to prevent instability with -xci when +the value of -ci exceeds -i (which is not recommended). This update adds a +warning message to avoid confusing the user. + +7 May 2021. + =item B Formatting of multiline qw lists with welding works best if the