From 34ff282397889c826ea413a07533996fb38be381 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sat, 17 May 2008 20:11:45 +0000 Subject: [PATCH] ND changes in the modify feature control. Thanks ahocevar for catching the erroneous comment in handleKeypress. No fonctional change. git-svn-id: http://svn.openlayers.org/trunk/openlayers@7213 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Control/ModifyFeature.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/OpenLayers/Control/ModifyFeature.js b/lib/OpenLayers/Control/ModifyFeature.js index e4e1c2b498..b710fa9a26 100644 --- a/lib/OpenLayers/Control/ModifyFeature.js +++ b/lib/OpenLayers/Control/ModifyFeature.js @@ -251,10 +251,10 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { /** * APIMethod: activate - * Activate the control and the feature handler. + * Activate the control. * * Returns: - * {Boolean} Successfully activated the control and feature handler. + * {Boolean} Successfully activated the control. */ activate: function() { return (this.selectControl.activate() && @@ -264,7 +264,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { /** * APIMethod: deactivate - * Deactivate the controls. + * Deactivate the control. * * Returns: * {Boolean} Successfully deactivated the control. @@ -496,9 +496,9 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { /** * Method: handleKeypress * Called by the feature handler on keypress. This is used to delete - * vertices and point features. If the property is set, - * vertices and points will be deleted when a feature is selected - * for modification and the mouse is over a vertex. + * vertices. If the property is set, vertices will + * be deleted when a feature is selected for modification and + * the mouse is over a vertex. * * Parameters: * {Integer} Key code corresponding to the keypress event.