id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3763	Introduce run_listbox_with_data()	mooffie		"== The problem:

Functions that use `run_listbox()` can be complicated and breakable, if they need to figure out some pointer given the number of the item selected.

(For example, in the case of [http://source.midnight-commander.org/S/src--editor--editwidget.c.html#L320 edit_window_list()] this will make its code break if we change how widgets are Z-ordered --which was the 1st solution I tried for #3760.)

== The solution:

A listbox can already store pointers. So we introduce a variant of run_listbox() with returns pointers. We then use it to simplify a couple of functions.
"	task	new	major	Future Releases	mc-core	master						no branch	
