regedit: add search feature

Enterprise / Samba - Chris Davis [gmail.com] - 1 October 2014 07:32 UTC

Open up a search input with '/'. 'x' key gets the next result.

This patch also ensures that keys are always sorted, so that the search order matches the order the keys appear on screen.

TODO: + flesh out search interface + find previous + search values

0ab07cb regedit: add search feature.
source3/utils/regedit.c | 150 +++++++++++++++++++++++++++++++++++++-
source3/utils/regedit.h | 13 ++++
source3/utils/regedit_dialog.c | 14 ++++
source3/utils/regedit_dialog.h | 4 +
source3/utils/regedit_treeview.c | 134 +++++++++++++++++++++++++---------
source3/utils/regedit_treeview.h | 4 +
6 files changed, 280 insertions(+), 39 deletions(-)

Upstream: gitweb.samba.org


  • Share