Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@novell.com>2010-04-08 23:31:36 +0400
committerLluis Sanchez <lluis@novell.com>2010-04-08 23:31:36 +0400
commitf9af4a70c67d2297d2b550977e50566800de9a04 (patch)
tree1b50dee8ed65f656224146d7832bb5af56b0f138 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parent4b8c2c8fa78079172a1ca112d34991c5c7bc23f5 (diff)
* MonoDevelop.Ide.addin.xml:
* MonoDevelop.Ide.Commands/EditCommands.cs: * MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs: Added DeleteKey command, which can be used to easily bind the Delete key to command handlers. svn path=/trunk/monodevelop/; revision=155085
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
index 5ce9a47f1d..d4afa228a3 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/EditCommands.cs
@@ -61,7 +61,15 @@ namespace MonoDevelop.Ide.Commands
ToggleFolding,
ToggleAllFoldings,
- FoldDefinitions
+ FoldDefinitions,
+
+ /// <summary>
+ /// The DeleteKey command can be used to easily bind the Delete key to a command handler
+ /// Notice that the EditCommands.Delete command is not bound to the Delete key since it is not always
+ /// convenient to fire the Delete command when pressing Delete (for example, while editing the name of
+ /// a file in the solution pad.
+ /// </summary>
+ DeleteKey
}
internal class MonodevelopPreferencesHandler: CommandHandler