From: Steve Hancock Date: Sun, 14 Jul 2024 20:38:25 +0000 (-0700) Subject: add note on line length tolerances, see git #153 X-Git-Tag: 20240511.06~5 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dd43440bd60fce2f699e4e27405f4e5a83f1a868;p=perltidy.git add note on line length tolerances, see git #153 --- diff --git a/bin/perltidy b/bin/perltidy index d3324548..3dfb41e9 100755 --- a/bin/perltidy +++ b/bin/perltidy @@ -439,9 +439,12 @@ Use n columns per indentation level (default n=4). =item B<-l=n>, B<--maximum-line-length=n> -The default maximum line length is n=80 characters. Perltidy will try +The default maximum line length is B characters. Perltidy will try to find line break points to keep lines below this length. However, long -quotes and side comments may cause lines to exceed this length. +quotes and side comments may cause lines to exceed this length. And +long lines may sometimes be broken at a length less than B characters +because some of the line break decisions employ small tolerances +to prevent formatting instabilities. The default length of 80 comes from the past when this was the standard CRT screen width. Many programmers prefer to increase this to something like 120.