regedit: search values and repeat search from cursor positions
authorChris Davis <cd.rattan@gmail.com>
Fri, 1 Aug 2014 06:24:19 +0000 (23:24 -0700)
committerMichael Adam <obnox@samba.org>
Wed, 1 Oct 2014 12:32:09 +0000 (14:32 +0200)
commitbcab659516382d5dc51b1558a895a9a26d81c6b8
tree3fd5eedf3128d2731e114913388a0419ca237a90
parent09245177a4031fb1a1319071e745f0df10b1ee53
regedit: search values and repeat search from cursor positions

Recovering the search position from the cursors is safer than retaining
a pointer to the last node, as the pointer will become invalid if the
user deletes the item or refreshes the cache.

Signed-off-by: Chris Davis <cd.rattan@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
source3/utils/regedit.c
source3/utils/regedit.h
source3/utils/regedit_treeview.c
source3/utils/regedit_treeview.h
source3/utils/regedit_valuelist.c
source3/utils/regedit_valuelist.h