rem: if (this.multiple) { if(OpenLayers.Util.indexOf(this.layer.selectedFeatures, feature) > -1) { 
add: var selected = (OpenLayers.Util.indexOf(this.layer.selectedFeatures, feature) > -1); if(!this.multiple && !this.handler.evt[this.multipleKey]) {  this.unselectAll(); } if(selected) { if(this.toggle || this.handler.evt[this.toggleKey]) {  
context:     clickFeature: function(feature) {        if(this.hover) {            return;        }        if (this.multiple) {            if(OpenLayers.Util.indexOf(this.layer.selectedFeatures, feature) > -1) {                this.unselect(feature);            } else {                this.select(feature);            }        } else {            if(OpenLayers.Util.indexOf(this.layer.selectedFeatures, feature) > -1) {                this.unselect(feature);            } else {                if (this.layer.selectedFeatures) {                    for (var i = 0; i < this.layer.selectedFeatures.length; i++) {                        this.unselect(this.layer.selectedFeatures[i]);                    }                }                this.select(feature);            }        }    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1027/6fb48c0cd7287bb56cb8c68518c8994201948720/SelectFeature.js/buggy/lib/OpenLayers/Control/SelectFeature.js