diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2015-06-05 17:55:53 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2015-06-05 17:55:53 +0300 |
commit | df17b7bc466d22ec3b17ccd00c312dc41936fc79 (patch) | |
tree | 49f5fb858558e369f54a6c1e10104a7020b8e43a /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | 916851f8aa6d660a7594c47f5138971982c54f91 (diff) | |
parent | 664bbc99deecc9d547b2b4fbb7455d14b882ba77 (diff) |
Merge pull request #919 from iainx/delete-to-start-of-line
[Text Editor] Add Delete to start of line action
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs index 165ddd148b..fa68cdbd7d 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs @@ -785,7 +785,13 @@ namespace MonoDevelop.SourceEditor { RunAction (DeleteActions.CaretLine); } - + + [CommandHandler (MonoDevelop.Ide.Commands.TextEditorCommands.DeleteToLineStart)] + internal void OnDeleteToLineStart () + { + RunAction (DeleteActions.CaretLineToStart); + } + [CommandHandler (MonoDevelop.Ide.Commands.TextEditorCommands.DeleteToLineEnd)] internal void OnDeleteToLineEnd () { |