From dd43440bd60fce2f699e4e27405f4e5a83f1a868 Mon Sep 17 00:00:00 2001 From: Steve Hancock Date: Sun, 14 Jul 2024 13:38:25 -0700 Subject: [PATCH] add note on line length tolerances, see git #153 --- bin/perltidy | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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. -- 2.39.5