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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad19,23963231b5359f74 X-Google-Attributes: gid10ad19,public X-Google-Thread: 1073c2,23963231b5359f74 X-Google-Attributes: gid1073c2,public X-Google-Thread: 10a146,23963231b5359f74 X-Google-Attributes: gid10a146,public X-Google-Thread: 107a89,23963231b5359f74 X-Google-Attributes: gid107a89,public X-Google-Thread: 101deb,23963231b5359f74 X-Google-Attributes: gid101deb,public X-Google-Thread: 103376,23963231b5359f74 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-04 19:32:41 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.lang.ada,comp.lang.awk,comp.lang.clarion,comp.lang.java.programmer,comp.lang.pl1,comp.lang.vrml Subject: Re: Long names are doom ? Message-ID: References: <3B0DD011.88FCD00E@acm.org> <83WP6.3874$yc6.728572@news.xtra.co.nz> <3B1411D0.3AAF42E7@ftw.rsc.raytheon.com> <9f2nks$ibd$0@dosa.alt.net> <3B177EF7.2A2470F4@facilnet.es> <9f8b7b$h0e$1@nh.pace.co.uk> <9f8r0i$lu3$1@nh.pace.co.uk> <9fgagu$6ae$1@nh.pace.co.uk> In article , Roedy Green writes: > On 4 Jun 2001 19:40:29 -0500, Kilgallen@eisner.decus.org.nospam (Larry > Kilgallen) wrote or quoted : > >>> What I find so strange is something as simple as variable >>> sized/coloured {} and () to make visual balancing easier still has not >>> caught on. >> >>What makes you say it has not caught on ? >> >>Several editors do syntax coloring for Ada, and the Alpha editor also >>does it for C, C++, Fortran, HTML, Java, Pascal, Modula-2, Perl, >>Postscript, Scheme, SQL, Tcl, TeX, LaTeX and LaTeX > > I did not explain clearly. I don't just mean making all {} some > colour different from the rest of text, but to make them match > pairwise in increasing size with nesting depth, possibly also using > different shade with matching pairs the same shade. Increasing depths are taken care of automatically by prettyprinters (a misnomer, but that is what a lot of people call formatting programs). In Ada those that are standalone are actually begin/end pairs, and I always find the indentation to be sufficient. If it is not I view it as a danger signal for excessive complexity. I presume you are not worried about matching in something short like an array reference or function call: Answer := Correct_Answer ( Answer_Number ( Index ) );