Author Topic: Project Dependencies - select / deselect all  (Read 4060 times)

at5dapa1

  • Senior Community Member
  • Posts: 285
  • Hero Points: 24
Project Dependencies - select / deselect all
« on: October 29, 2011, 11:26:44 PM »
This is a small patch for the built-in macros, which gives two buttons on the Project Dependencies tab for faster selecting (or deselecting) of the projects. Handy when the number of projects in the workspace goes big (166 in my case and I wish this feature will be added into a next release).
How was built:
- project_form.e is a new file where I copied the _form _project_form from the built-in macro file sysobj.e, then at the end of the form appears the new two buttons: ctlcommandSelAll and ctlcommandDeselAll.
- project.e is a full copy of the original built-in macro file with the same name (macros\project.e) to which I added some code. It’s surrounded by _MY_PATCH_ define, so it’s easily maintainable.
To load the macro, copy the two files in your SlickEdit config folder (or a subfolder of it) and load the project.e (this will automatically load the project_form.e) from menu Macro -> Load Module…

Obs: you can also modify directly the built-in files and add there the needed changes then reload them. But for reload the sysobj one needs to rename defmain() in order to be allowed, else SlickEdit will refuse to load it. I prefer this way, but have to be careful what you’re doing.
Anyway ensure first you backup your config folder (and installation folder in the second way).
Also consider that if any new hotfix will have a new revision for “project.e” or “_form _project_form” then you’ll have to merge the fixes into this patch.

lclevesy

  • Guest
Re: Project Dependencies - select / deselect all
« Reply #1 on: October 31, 2011, 01:06:19 PM »
Thank you for your submission. It is in the running for the iPad!

The winner will be announced via our Facebook page https://www.facebook.com/slickedit, Twitter page http://www.twitter.com/slickedit, and on this forum under the main SlickEdit October Macros Challenge Rules & How to Enter post http://community.slickedit.com/index.php/topic,7327.0.html on November 7, 2011.

lclevesy

  • Guest
Re: Project Dependencies - select / deselect all
« Reply #2 on: November 01, 2011, 03:08:29 PM »
We'll be announcing the winner of the iPad 2 on November 7th. Until then, your submission has earned a SlickEdit t-shirt! Email your size and address to marketing@slickedit.com to receive one.