From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.5-pre1 X-Received: by 2002:a05:6214:11a8:: with SMTP id u8mr12347430qvv.88.1597620178740; Sun, 16 Aug 2020 16:22:58 -0700 (PDT) X-Received: by 2002:a0c:cc94:: with SMTP id f20mr12205043qvl.159.1597620178333; Sun, 16 Aug 2020 16:22:58 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 16 Aug 2020 16:22:57 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=67.2.9.212; posting-account=uAiShQoAAABL1dOXlVllWlQArz9o0jAG NNTP-Posting-Host: 67.2.9.212 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: pretty-print case-when GPS confusion From: Micah Waddoups Injection-Date: Sun, 16 Aug 2020 23:22:58 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:59731 List-Id: So, I have been happy with my pretty-printing/formatting within GPS for a l= ong time, but there is one thing that really gets me irritated because it t= ends to run the text out of the visible area. That is the inconsistant ind= enting of "when" within the scope of "case". Sometimes it indents, which I= do NOT want, and sometimes it does not indent. I know the mechanics of th= e decision and I can manually tweak it, but it is a persistent problem. I = use case statements often enough that when it behaves against my wishes, ju= st a few layers of case statements tends to go off the screen to the right = and I find the result more difficult to read. =20 Does anyone have a simple solution or switch to use that I have overlooked= ?