From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9842c7063ce579ad X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Pretty Print utility? Date: 1998/09/30 Message-ID: <6utbl4$bmg$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 396318710 References: <36110A1B.C0179067@ti.com> X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Larder in Internet Discussion X-Article-Creation-Date: Wed Sep 30 13:28:04 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) Date: 1998-09-30T00:00:00+00:00 List-Id: In article <36110A1B.C0179067@ti.com>, Randy Wentworth wrote: > Does anyone know of a Unix (Solaris) based Ada95 sensitive formatting > and "pretty print" utility? We're using the GreenHills toolset and it > doesn't have anything like this. One possibility would be to bring it up in a recent version of Emacs, change to Ada mode, and do a "Pretty Print Buffer" from the Ada menu. On NT that doesn't work for some reason. There I would do an "Adjust Case Buffer" followed by hitting "home" and "end", then doing an "Indent Lines in Region". If you have a color printer, you can also turn on font-lock mode. That allows you to do a postscript print right from emacs that will have keywords, comments, and strings color highlited. As with the output of any reformatting tool, you will need to check the generated output by hand, so you can fix instances where the tool got confused. -- T.E.D. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum