Author Topic: hotfix r16:bgsearch.e broken  (Read 4516 times)

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
hotfix r16:bgsearch.e broken
« on: November 29, 2007, 12:56:44 PM »
Can't exclude subdirs (e.g. 'subdir\' ) anymore (No files to look in) :(
I'm using EXACTLY the same (saved) search as before.
Reverted back to the orig. version...
HS2

Edit: Fair enough to add some more details:
find files in bg - output to Search<0>
Sesarch for: word (nothing else checked)
look in: <Workspace>
file pattern: *.c;*.cc;*.cpp;*.cp;*.cxx;*.h;*.hh;*.hpp;*.hxx;*.inl;*.def;*.mak;Makefile;*.rc;*.s;*.S;*.bat;*.cmd;*.btm
exclude: sub_dir\
« Last Edit: November 29, 2007, 01:07:25 PM by hs2 »

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: hotfix r16:bgsearch.e broken
« Reply #1 on: November 29, 2007, 02:19:01 PM »
Nice catch, try this change with the lastest rev:

bgm_make_exclude_re:  line 534
Code: [Select]
         filter = strip(wildcards, 'B');to:
Code: [Select]
         filter = strip(filter, 'B');
I'll update the hotfix if you can confirm this indeed works for you.


hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: hotfix r16:bgsearch.e broken
« Reply #2 on: November 29, 2007, 02:30:58 PM »
WORKS - Thanks, HS2

phord

  • Junior Community Member
  • Posts: 4
  • Hero Points: 0
Re: hotfix r16:bgsearch.e broken
« Reply #3 on: November 29, 2007, 09:39:43 PM »
I've had numerous clipboard problems as well (Windows, VS12).  Usually its the result of the editor (or something) crashing and my Clipboards restore file being corrupted.  Unfortunately, the corruption causes the clipboards to stop working properly. I figured out how to clean it out by turning off Clipboard Restore, exit VS, reload, turn it back on.  But it's a pain in the butt.  Nice to hear about another workaround.  :-)

I haven't seen the bug appear in a while, but that's probably because I have Restore Clipboards disabled still.   >:(

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: hotfix r16:bgsearch.e broken
« Reply #4 on: November 29, 2007, 11:34:59 PM »
You can do a quick cleanup by invoking the 'reset-clipboards' command on SE commandline.
It's basically the same as turning off 'restore clipboards' and restart SE.
The clipboard problem I had to struggle with occured when using the 'selective display' feature and doing copy'n pastes which might not be related to the problems you've noticed.
BTW: I didn't see a real SE crash since years. It's very, very stable. Rarely there was a (macro) lifelock with could be stopped with CTRL-SHIFT-ALT-F2.

HS2