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!news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.inode.at!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Quick question about Ada code formatting. Date: Fri, 24 Feb 2006 20:02:49 +0100 Organization: Cablecom Newsserver Message-ID: <1918992.WfEWGsTeN5@linux1.krischik.com> 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> NNTP-Posting-Host: 84-74-134-212.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1140809446 5180 84.74.134.212 (24 Feb 2006 19:30:46 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Fri, 24 Feb 2006 19:30:46 +0000 (UTC) User-Agent: KNode/0.10.1 Xref: g2news1.google.com comp.lang.ada:3148 Date: 2006-02-24T20:02:49+01:00 List-Id: Stephen Leake wrote: > "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. Not a subset of keywords. vim can do that easily enough - configuring a new color for every keyword would take about 15 min. The problem is finding the beginning of a procedure body without false hits on procedure renames and procedure specifications. Martin PS: I started to use vim as it is the best I could get for OpenVMS (emacs for OpenVMS is outdated and black and white only - yuck!!! - And we don't even talk about coosing fonts). But now I actually like it and use it on Window and Linux as well. -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com