D9901: Search&Replace: Make exclude filter work on the relative subdirs

Alexander Neundorf noreply at phabricator.kde.org
Mon Jan 15 20:56:47 UTC 2018


neundorf created this revision.
neundorf added reviewers: sars, kwrite-devel.
Restricted Application added a project: Kate.
neundorf requested review of this revision.

REVISION SUMMARY
  The Search&Replace plugin has an "Exclude" filter.  The tooltip says "Comma separated list of files and directories to exclude from the search. Example: "build*", but that didn't actually work.
  In "Search in folder" mode, the exclude-filter was matching against the full path, in "In project"  mode it matches against the subdir.
  With this patch, it now also matches against the result subdir, relative to the base search dir, so excluding "build/*" works now.
  
  Ok to commit ?

REPOSITORY
  R40 Kate

REVISION DETAIL
  https://phabricator.kde.org/D9901

AFFECTED FILES
  addons/search/FolderFilesList.cpp

To: neundorf, sars, kwrite-devel
Cc: michaelh, kevinapavew, ngraham, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180115/4f0dde42/attachment.html>


More information about the KWrite-Devel mailing list