comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: Quick question about Ada code formatting.
Date: Fri, 24 Feb 2006 20:02:49 +0100
Date: 2006-02-24T20:02:49+01:00	[thread overview]
Message-ID: <1918992.WfEWGsTeN5@linux1.krischik.com> (raw)
In-Reply-To: uwtflqd2g.fsf@toadmail.com

Stephen Leake wrote:

> "Martin Krischik" <krischik@users.sourceforge.net> 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



  reply	other threads:[~2006-02-24 19:02 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-18 12:19 Quick question about Ada code formatting Peter C. Chapin
2006-02-18 13:00 ` Ludovic Brenta
2006-02-18 13:26 ` Simon Wright
2006-02-18 15:36   ` Georg Bauhaus
2006-02-18 16:52     ` Georg Bauhaus
2006-02-19  0:27     ` Simon Wright
2006-02-19  4:17       ` Jeffrey R. Carter
2006-02-19  9:51         ` Simon Wright
2006-02-19 15:23           ` Stephen Leake
2006-02-19 22:32             ` Simon Wright
2006-02-19 12:23       ` Georg Bauhaus
2006-02-19 22:23         ` Simon Wright
2006-02-22 22:15         ` Stephen Leake
2006-02-22 23:13           ` Georg Bauhaus
2006-02-23 12:50             ` Stephen Leake
2006-02-23 15:40               ` Jean-Pierre Rosen
2006-02-18 19:16   ` Pascal Obry
2006-02-18 21:16   ` Peter C. Chapin
2006-02-18 21:27     ` Pascal Obry
2006-02-19  0:10       ` Simon Wright
2006-02-19  9:41         ` Pascal Obry
2006-02-19  9:57           ` Simon Wright
2006-02-19 10:29             ` Pascal Obry
2006-02-19 12:31               ` Georg Bauhaus
2006-02-19 13:29                 ` Pascal Obry
2006-02-19 15:20                   ` Stephen Leake
2006-02-20  6:33                     ` Brian May
2006-02-20 18:07                       ` Pascal Obry
2006-02-22 22:21                       ` Stephen Leake
2006-02-20  8:17                     ` Lionel Draghi
2006-02-20 19:07                       ` Martin Krischik
2006-02-22 22:30                       ` Stephen Leake
2006-02-22 22:39                         ` Pascal Obry
2006-02-23 12:56                           ` Stephen Leake
2006-02-23 15:02                             ` Martin Krischik
2006-02-24 10:13                               ` Stephen Leake
2006-02-24 19:02                                 ` Martin Krischik [this message]
2006-02-24 23:29                                   ` Georg Bauhaus
2006-02-20 18:52                     ` Pascal Obry
2006-02-21  8:07                       ` Alex R. Mosteo
2006-02-22 22:32                         ` Stephen Leake
2006-02-23  6:02                           ` Jeffrey R. Carter
2006-02-23 12:58                             ` Stephen Leake
2006-02-19 19:25                   ` Jeffrey R. Carter
2006-02-19 20:00                     ` Pascal Obry
2006-02-19 22:27                       ` Simon Wright
2006-02-20  4:32                       ` Jeffrey R. Carter
2006-02-20 22:10                   ` Randy Brukardt
2006-02-22 22:36                     ` Stephen Leake
2006-02-23  9:49                       ` Alex R. Mosteo
2006-02-23 12:42                       ` Jean-Pierre Rosen
2006-02-24 10:15                         ` Stephen Leake
2006-02-20  7:11         ` Jean-Pierre Rosen
2006-02-21 21:23           ` Simon Wright
2006-02-19 15:17       ` Stephen Leake
2006-02-18 14:43 ` Martin Krischik
2006-02-18 20:21 ` Jeffrey R. Carter
2006-02-19 10:02 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox