D6262: Implement persisting search history for Find in Files
Christoph Roick
noreply at phabricator.kde.org
Sun Jun 18 22:20:45 UTC 2017
croick created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
Major Changes:
- grep job settings are saved in the GrepDialog config sections
- when starting a session, grep jobs with the recalled settings are started
Minor Changes:
- refresh button now restarts grep job for currently selected result
- fix clearing of old entries beyond display limit in result view
- disable refresh and clear buttons for empty result history
- do not set up UI of GrepDialog when it stays hidden
- keep track of all GrepDialogs for plugin unloading (fix)
Remark:
To make sure all projects are loaded after startup (for searches
in project files only), the number of loaded projects must match
the number of projects to be loaded from the "General Options"
config section.
BUG: 380864
TEST PLAN
- start a session with several projects to be opened
- use the "Find/Replace in Files" tool to search in files
- restart the same session and observe how the old searches are done after all projects have been loaded
- use the refresh button to redo a selected search
REPOSITORY
R33 KDevPlatform
BRANCH
grephistory
REVISION DETAIL
https://phabricator.kde.org/D6262
AFFECTED FILES
plugins/grepview/grepdialog.cpp
plugins/grepview/grepdialog.h
plugins/grepview/grepjob.h
plugins/grepview/grepoutputview.cpp
plugins/grepview/grepoutputview.h
plugins/grepview/grepviewplugin.cpp
plugins/grepview/grepviewplugin.h
To: croick, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170618/77591441/attachment.html>
More information about the KDevelop-devel
mailing list