Author Topic: filter_selection vs. filter_command  (Read 1267 times)

mrothman

  • Senior Community Member
  • Posts: 120
  • Hero Points: 1
filter_selection vs. filter_command
« on: December 21, 2015, 02:40:23 pm »
Hi folks.  Still using SlickEdit 18.  I wasted a bit of time trying to debug a command which called filter_selection, and finally noticed in the debugger that the "Filter Selection" menu option in SlickEdit actually calls filter_command, not filter_selection. The comment for both functions is the same and neither calls the other.  Judging by the problems I had, I suspect filter_selection works only with filters that are themselves SlickEdit macro language functions, while filter_command can deal with external commands (in fact maybe ONLY external commands).  But that's not what the comment says on filter_selection...  So just wondering if this is all just lagging comments, or whether I'm misunderstanding the right places to use them.