Author Topic: workspace-retag function  (Read 1420 times)

kchalmer

  • Community Member
  • Posts: 37
  • Hero Points: 3
workspace-retag function
« on: June 11, 2013, 03:40:09 pm »
  • I can't find any documentation on workspace-retag in the help.
  • With v17, it took a boolean argument that seemed to control the "retag modified files only" option - when I put execute('workspace_retag true') in a macro, it operated much more quickly.  With v18, this no longer seems to be the case - 'workspace_retag true' takes significantly longer than just choosing "Retag Workspace" from the menu and making sure that "Retag modified files only" is checked.
Any suggestions?

Thanks,
    -Ken

Matthew

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 990
  • Hero Points: 44
Re: workspace-retag function
« Reply #1 on: June 11, 2013, 03:54:44 pm »
That function now takes just one argument, and the bool is to determine the quiet option (meaning whether or not to show the dialog).
You'd need to copy the newer implementation, tweak it for your needs, and then save and load it in your own custom macro file.

kchalmer

  • Community Member
  • Posts: 37
  • Hero Points: 3
Re: workspace-retag function
« Reply #2 on: June 11, 2013, 04:15:54 pm »
Worked nicely.  Thanks for the suggestion Matthew!

    -Ken