Author Topic: BUG: SE 17.0.2 Multi-file replace fails if filenames contain spaces  (Read 3660 times)

Ruhh

  • Junior Community Member
  • Posts: 4
  • Hero Points: 2
It shows dialog "File 'name' not found. Continue?" for such file.
The problem is in mfsearch.e file, _mfreplace2util function.

Look for the following lines:
Code: [Select]
edit_called = true;
edit_status = edit('+b 'maybe_quote_filename(path));
get_window_id(edit_view_id);

According to 'edit' documentation file name must NOT be quoted when using '+b' option. Simply remove maybe_quote_filename() call around 'path', press F12 to recompile and reload the module and all will be fine.
Code: [Select]
edit_status = edit('+b 'path);

Cheers!

Lee

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1299
  • Hero Points: 130
Re: BUG: SE 17.0.2 Multi-file replace fails if filenames contain spaces
« Reply #1 on: December 19, 2012, 03:27:05 PM »
I can confirm that bug and the fix is correct.  I'd like to report that the issue has been addressed already in the 17.0.3 release,  and included in a prior 17.0.2 hotfix release.