<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><DIV>On Apr 6, 2006, at 4:28 PM, Charilaos Skiadas wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">On 6/4/2006, at 21:46, Daniel Harple wrote:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">In emacs there is an option to highlight parentheses pairs when your caret is on a parenthesis -- show-paren. Can a similar effect be achieved in TextMate? [...]</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Currently not.</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">However, you could add different colors to the braces etc for different nesting levels, to get permanent highlighting of matching braces, by using an appropriate scope selector. Not the same I know, but something.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Perhaps when dynamic scopes arrive?</FONT></P> </BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In a few of my languages I have something like this:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">              </SPAN>round-brackets = { patterns = (</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                              </SPAN>{<SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>name = 'meta.group.braces.curly';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                    </SPAN>begin = '\{';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>end = '\}';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                  </SPAN>patterns = ( { include = 'source.prototype.js.bracketed'; } );</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                               </SPAN>},</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                           </SPAN>{<SPAN class="Apple-tab-span" style="white-space:pre">   </SPAN>name = 'meta.group.braces.round';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                    </SPAN>begin = '\(';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                        </SPAN>end = '\)';</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                                  </SPAN>patterns = ( { include = 'source.prototype.js.bracketed'; } );</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                               </SPAN>},</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">                   </SPAN>);</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">           </SPAN>};</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You could rework that to color just the brackets themselves.</DIV><DIV>But that would be permanent for that theme.</DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV style=""><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 14px;"><SPAN class="Apple-style-span" style="font-size: 14px; ">thomas Aylott—</SPAN></SPAN></FONT><B style="font-weight: bold; "><SPAN class="Apple-style-span" style="font-weight: bold; ">subtleGradient—</SPAN></B><FONT class="Apple-style-span" size="1"><SPAN class="Apple-style-span" style="font-size: 9px;"><SPAN class="Apple-style-span" style="text-decoration: underline;; font-size: 9px; -khtml-text-decorations-in-effect: underline; "><SPAN class="Apple-style-span" style="font-size: 9px; -khtml-text-decorations-in-effect: underline; "><A href="mailto:oblivious@subtleGradient.com">oblivious@subtleGradient.com</A></SPAN></SPAN></SPAN></FONT></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>