Author Topic: Begin/end matching of < and > for C++  (Read 3868 times)

alex

  • Community Member
  • Posts: 64
  • Hero Points: 6
Begin/end matching of < and > for C++
« on: August 15, 2006, 04:03:57 pm »
I was trying to get SlickEdit to give me begin/end matching for <> (for use with templates), but I don't see how to do this.  The begin/end pairs box is grayed out when I go to the File Extension Settings options, and the help file says that this happens when the code for this behavior has been specialized for the language.  Does this mean that the behavior is this hard-coded into the SlickEdit source code, or is there a way to get this matching to work by changing one of the Slick-C files?

Dennis

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 2738
  • Hero Points: 419
Re: Begin/end matching of < and > for C++
« Reply #1 on: September 15, 2006, 01:37:10 pm »
Hi Alex,

That is a very good suggestion.  I have filed a feature request in our tracking system.  Hopefully we can integrate this into a future release.

hs2

  • Senior Community Member
  • Posts: 2737
  • Hero Points: 288
Re: Begin/end matching of < and > for C++
« Reply #2 on: September 15, 2006, 09:11:37 pm »
You could also try
Code: [Select]
set-var def_pmatch_charson cmdline and append <> to the exisiting set.

HS2
« Last Edit: September 15, 2006, 09:20:21 pm by hs2 »

alex

  • Community Member
  • Posts: 64
  • Hero Points: 6
Re: Begin/end matching of < and > for C++
« Reply #3 on: September 17, 2006, 02:31:57 pm »
Sweet!  Thanks for the tip, it appears to work :)