Mail Archives: djgpp/2000/04/10/09:11:08
On Mon, 10 Apr 2000, Alexei A. Frounze wrote:
> 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?
I suggest Emacs. It has two related features: one, enabled by default,
causes the cursor to momentary jump to the matching parenthesis when you
type the closing paren (if the matching paren is outside the screen, the
line with that paren is echoed in the bottom line).
The other feature, which is optional, automatically highlights the
matching paren in special color when you move the cursor to some paren.
If the paren is unmatched, it is highlighted in a different color, to
draw your attention.
Emacs also has a special key that will move to the matching paren/brace.
- Raw text -