Patch to correct problem with tnSelectionMirrorPoint
Brought to you by:
lustuyck
If you programmatically set a single, selected node such as:
treeView.SelectedNodes.Clear();
treeView.SelectedNodes.Add(someNode);
the tnSelectionMirrorPoint does not get set, so the next shift-click will select the wrong range of nodes -- it will not start at someNode, it will start at the last user-selected node.
The attached patch corrects this behavior.
Patch for TreeView.cs