![[index]](../icons/index.gif)
Next: Paren Utilities
Up: Reference
Previous: panel:single-pane = (panel:single-mixin pane)
MrEd provides general-purpose ``parenthesis''-matching utilities that
work on buffers. The utilities are paramerized with respect to:
- parens -- Pairs (cons cells) of opening and closing
bracket strings. These brackets can be nested and must be balanced.
The opening and closing string do not have to be different.
- quotes -- Pairs of opening and closing quote
bracket strings. Within a pair of quotes, all other bracket, quote,
and comment strings are ignored. Pairs of quote strings do not have
to correspond to quotes in the language. For example, C comments
using ``/*'' and ``*/'' are considered quotes for parenthesis-matching
purposes.
- comments -- A list of comment-starting strings. Comments
of this form run until the end of the line.
A backslash (\) is assumed to be the (only) method for
escaping parenthesis, quote, and comment markers. The
parenthesis-balancing utilities are only guaranteed to act
meaningfully when the starting position is outside quoted and commented
expressions. When a pair of opening and closing brackets are not distinct,
the actions on these brackets are only meaningful for searches
starting outside the brackets.
PLT