Not quite sure yet ..
Yes, the test project does behave correct now.
Tried within the app, i got an access violation. Whcih could be solved: there was also a reference to "Selected" within the Edited callback, and it pointed to Nil. Could be bypassed, basically no problem.
Within the test project, Selected is _not_ nil (would need to dig deep why this difference, i'm using a custom inplace editor here).
"Selected" points to the currently edited = previous selected item.
Which is correct from the point of view of the "Edited" context.
But maybe not what we would expect from the listview's overall point of view.
I'd formulate the question as follows:
wichin the scenario described, what do we want where "Selected" should point to now, and is it guaranteed that it has a valid contents?
You might take a look applying the following line within the test project, Edited callback:
Memo1.Lines.Add('Edited: selected Item caption now is --> ' + ListView1.Selected.Caption);