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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8b756d9a0afb052a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newspeer.monmouth.com!nntp.abs.net!news.abs.net!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. References: <43F7915B.3090000@obry.net> <43F83D46.2090200@obry.net> <43F84890.7010900@obry.net> <43f871d8$0$491$9b4e6d93@newsread4.arcor-online.net> <43F872C4.50505@obry.net> <43f97b00$0$4386$626a54ce@news.free.fr> <43FCE82E.5000705@obry.net> <1140706931.708556.38170@g14g2000cwa.googlegroups.com> From: Stephen Leake Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:QDTbsn1zPQTRIRPDodTtGMAllu4= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 24 Feb 2006 05:13:43 -0500 NNTP-Posting-Host: 66.159.65.1 X-Complaints-To: abuse@toad.net X-Trace: news.abs.net 1140776031 66.159.65.1 (Fri, 24 Feb 2006 05:13:51 EST) NNTP-Posting-Date: Fri, 24 Feb 2006 05:13:51 EST Xref: g2news1.google.com comp.lang.ada:3122 Date: 2006-02-24T05:13:43-05:00 List-Id: "Martin Krischik" writes: >> If the IDE displayed the keyword 'procedure' (or that whole line) in a >> much larger font, would that be easy enough to see? > > Cool idea, I imedialtly opened my vim configuration and closed it just > as fast again. > > Problem: > > procedure xxx ( > aaaa : bbbb := mmmm; > ccccc: dddd ) renames yyyy; > > I tried before for syntax folding and failed - Ada's syntax is just to > flexible. > > So you would need a very Ada centric IDE like the GPS to implement that > feature. Hmph. Emacs can do this easily. Well, it can easily set the font to large for _all_ keywords (I just did that, via interactive customization). It would not be hard to just set the font to large for a subset of keywords. For those who want to experiment with this; start customize, navigate to Faces | Font Lock | Font Lock Highlighting Faces | Font Lock Keyword Face. Change Height; I used 'scale 3.0'. You must have been trying to make the font large for the entire statement? That is also possible in Emacs (it can find a statement), but that wasn't what I originally proposed. -- -- Stephe