id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3494	Use INPUT_LAST_TEXT for input_dialog() instead of static vars	mooffie		"input_dialog() already supports showing the last input, by using INPUT_LAST_TEXT, so there's no reason to re-implement this feature.

(1) This patch fixes this for the ""Run sort"" dialog.

(2) It also fixes this for the two ""Goto line"" dialogs. But for these two we assume the user won't want to see the previous input when he first uses the dialog in the current session (because the line number of yesterday isn't very important today) so we use a static variable to detect ""first run"".

(3) The diff's ""Goto line"" command was invoked ""incorrectly"" by `dview_goto_cmd (dview, TRUE)` instead of `dview_goto_cmd (dview, DIFF_RIGHT)`.
"	task	closed	trivial	4.8.15	mcedit	master	fixed					no branch	committed-master
