Author Topic: 2007/ Project --> Properties --> Add Tree doesn't remember exclusion list  (Read 3389 times)

MRawlings

  • Community Member
  • Posts: 26
  • Hero Points: 2
Is there a means to make the exclusion list in the Project --> Properties --> Add Tree
remember the previous exclusions?

I use *\CVS\ as an exclusion generally, but every so often I forget to add it to the field at the bottom of the window
and end up with files in CVS directories added to my project.
It's a pain to get have to go back and remove them from the project.

Why doesn't SlickEdit remember these exclusions typed here and default to the most recently used exclusion?

Thanks,

Mark

hs2

  • Senior Community Member
  • Posts: 2732
  • Hero Points: 284
Right - missed that too and want to write a req. later on :)

You need 2 things to get this supported.
The attached guicd.e module with the needed combobox handling:
and a bug fix ...
@SlickTeam: I think there is a small bug in project.e:
project.e - _addtree.lbutton_up() [line 4822]:
Code: [Select]
// if (!status) {
if (status < 0) {

HS2

hs2

  • Senior Community Member
  • Posts: 2732
  • Hero Points: 284
@SlickTeam The 'small' bug described above seems have a bigger impact.
If the return code of tag_read_db is really >= 0 on success I there are a lot more wrong checks !

HS2

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1143
  • Hero Points: 103
Official hotfix for the saving and restoring exclude filespec here in Add Tree form.  Help > Product Updates > Load Hot Fix... to update.

(Looking into other bug you mentioned as well)

hs2

  • Senior Community Member
  • Posts: 2732
  • Hero Points: 284
Thanks a lot !

HS2

hs2

  • Senior Community Member
  • Posts: 2732
  • Hero Points: 284
My bugfix proposal for project.e mentioned above was wrong - sorry :(
Should be
Code: [Select]
if (status >= 0) of course.
But I think 'attempt_retrieval' shouldn't be disabled to allow the retrieval of the exclusions like '*\CVS\' even if the project wildcard is given.

HS2

jbhurst

  • Senior Community Member
  • Posts: 407
  • Hero Points: 33
Hi,

How come Add Tree has a drop-down, and (with the hotfix) remembers past exclusions, but Add Wildcard doesn't?

Regards

John Hurst
Wellington, New Zealand

MRawlings

  • Community Member
  • Posts: 26
  • Hero Points: 2
Hi Lee,

I tried the hotfix you provided and it appears to work as expected.

Thanks very much for the quick response.

Mark