Opened 13 years ago

Last modified 13 years ago

#399 new enhancement

delimiter matching

Reported by: rme Owned by:
Priority: minor Milestone: Cocoa IDE v1
Component: IDE Version:
Keywords: funded Cc:


The editor should provide a way to highlight matching delimiters. It currently highlights matching parens, but it should also be able to highlight other matching delimiters, such as square brackets, braces, and perhaps other user-selectable delimiter pairs.

The text attributes for the matched delimiter should be user-selectable. Unmatched delimiters could be highlighted in a different color; this should also be user-selectable.

Our current paren-highlighting scheme is done via Cocoa. A lisp interface for text attributes is desirable so that we can do this matching/highlighting with a lisp function.

We're basically looking for functionality similar to show-paren-mode in emacs.

Change History (4)

comment:1 Changed 13 years ago by jaj

  • Milestone changed from Cocoa IDE Improvements to Cocoa IDE v1
  • Priority changed from normal to major

comment:2 Changed 13 years ago by gz

  • Owner gz deleted

comment:3 Changed 13 years ago by gb

I can't quite wrap my head around this. If a buffer contains


do the [ and ] "match" ?

How about:

  "a string["


If so, then yes, this is mostly about highlighting, since just dumbly searching for the matching delimiter is trivial. If not, then it seems to involve parsing and assuming that things like #\[ #\] have syntactic significance.

comment:4 Changed 13 years ago by alms

  • Priority changed from major to minor

Changed priority from major to minor, to reflect the priority of the request from the actual person who requested it. (Nice to have, not important.) No need to hold up a release for this.

Note: See TracTickets for help on using tickets.