Mail Archives: djgpp/2000/06/29/09:08:55
Sean Proctor wrote:
>
> On Mon, 10 Apr 2000 14:01:55 +0400, "Alexei A. Frounze"
> <alex DOT fru AT mtu-net DOT ru> wrote:
>
> >Well, what you discuss is really a taste of a programmer.
> >
> >But everyone of you has noticed that matching open and close brackets is a real
> >pain, if your program has up to 10 nested cycles/loops or even composite
> >operators. Especially if this part of source doesn't fit entirely to the screen.
> >
> >What do you suggest here, huh?
> >
> >IMO RHIDE should have a bracket matching feature. I've seen it in Watcom C IDE,
> >it's nice and easy to use, but some hot keys should be used for that instead of
> >mouse click.
> >
> >What do you think?
RHIDE has Control-[ and Control-] for mathcing braces - '{', '}', IIRC.
I have a new idea not seen anywhere: highlight the current "nesting path":
highlight all opening brackets/braces/parens that are closed after the current
cursor position.
>
> in my opinion if you have 10 nested loops, etc, you need to break your
> program down a little in to functions... =)
>
> Sean
If you program non-C /* freopen("/dev/null", "a", stdholyflames); */
e.g. Scheme, Lisp, you have tons of parens or have no code. An editor
should be generous^H^H^H^Hgeneric enough to support different languages.
Aside from that, I agree.
--
Beni Cherniavsky <cben AT crosswinds DOT net>
(also scben AT t2 in technion)
God is a Real Programmer. Read DNA for details.
- Raw text -