diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-11-16 18:04:19 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-11-16 18:04:19 +0400 |
commit | 791219723e6302c06d47e9f70bb9bb169fd4b566 (patch) | |
tree | 8bff43f3aa768af188c10274a26fc4cd2415c09b /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | bf6facfe5afa17ee03e645805c653ee30adca3c9 (diff) |
Implemented 'Bug 1165 - MonoDevelop doesn't have a GUID generator. '.
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs index f1ffdff3b9..d4b83d70ee 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/SourceEditorView.cs @@ -2076,6 +2076,11 @@ namespace MonoDevelop.SourceEditor Mono.TextEditor.MiscActions.RemoveIndentSelection (widget.TextEditor.GetTextEditorData ()); } + [CommandHandler (EditCommands.InsertGuid)] + public void InsertGuid () + { + TextEditor.InsertAtCaret (Guid.NewGuid ().ToString ()); + } #endregion } } |