jsfiddle/OpenLayers.debug.js
function(feature, pixel) {
                var eligible = !control.geometryTypes ||
                    OpenLayers.Util.indexOf(control.geometryTypes,
                        feature.geometry.CLASS_NAME) !== -1;
                var i = OpenLayers.Util.indexOf(control.handles, feature);
                i += OpenLayers.Util.indexOf(control.rotationHandles,
                    feature);
                if(feature !== control.feature && feature !== control.box &&
                                                        i == -2 && eligible) {
                    control.setFeature(feature);
                }
            }
function(feature, pixel) {
                var eligible = !control.geometryTypes ||
                    OpenLayers.Util.indexOf(control.geometryTypes,
                        feature.geometry.CLASS_NAME) !== -1;
                var i = OpenLayers.Util.indexOf(control.handles, feature);
                i += OpenLayers.Util.indexOf(control.rotationHandles,
                    feature);
                if(feature !== control.feature && feature !== control.box &&
                                                        i == -2 && eligible) {
                    control.setFeature(feature);
                }
            }
function ( feature , pixel ) { var eligible = ! control . geometryTypes || OpenLayers . Util . indexOf ( control . geometryTypes , feature . geometry . CLASS_NAME ) !== - 1 ; var i = OpenLayers . Util . indexOf ( control . handles , feature ) ; i += OpenLayers . Util . indexOf ( control . rotationHandles , feature ) ; if ( feature !== control . feature && feature !== control . box && i == - 2 && eligible ) { control . setFeature ( feature ) ; } }
set a new feature
set a new feature