Cursor on the last bracket. Was: midnight bug - feature request
Peter Masiar
peter.masiar at yale.edu
Mon Nov 18 18:57:47 UTC 2002
Quoting Pavel Roskin <proski at gnu.org>:
> Now, what should happen if your cursor is on the last bracket? Like this:
>
> x=(a-(c+d))
> ^
>
> Should both opening parentheses be highlighted? Should different colors
> be used for them?
Editor Multi-Edit (ME - only on Windoze) does it in rather intuitive way:
When I type closing parenthesis, curlie, or bracket,
ME will highlight (using different background color) all text
from opening bracket to the closing one.
When cursor moves, highlight disappears.
I found this behavior very convenient and intuitive,
it's rather obvious what is being closed --
better than highlighting just opening and closing brackets.
Just my 0.02
--
Peter Masiar,
More information about the mc
mailing list