Author Topic: include_once C++ alias not working  (Read 1315 times)

Graeme

  • Senior Community Member
  • Posts: 2323
  • Hero Points: 305
include_once C++ alias not working
« on: August 28, 2014, 12:53:40 pm »
As reported by jporkkahtc here http://community.slickedit.com/index.php/topic,10263.0.html
the include_once alias doesn't work.  It is missing the parameter entry for "macro".  If you select some text, right click -> surround with -> include once, it gets reported 3 times "macro not found in parameter list".  If you type include_once then <space> (or Ctrl shift O) the alias doesn't get replaced.  If you add the macro parameter to the alias, the alias still doesn't get expanded.  If you delete the include_once alias, then re-enter it and add the macro parameter, the alias does get expanded on Ctrl-Shift-O but there's a weird dialog that pops up saying "result = 154" ?? ??
Something like that...

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1275
  • Hero Points: 126
Re: include_once C++ alias not working
« Reply #1 on: August 28, 2014, 01:02:27 pm »
The popup "result=xxx" was some debug code that got left in there.  It is fixed for next release.  I will look into why the alias isn't doing what it supposed to there.

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1275
  • Hero Points: 126
Re: include_once C++ alias not working
« Reply #2 on: August 28, 2014, 02:50:54 pm »
This will be fixed in next release.