Browse Source

Fixed SD2-778: Indent (Ctrl+I) should be put into main menu

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1344 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 20 years ago
parent
commit
ae481755b4
  1. 14
      AddIns/ICSharpCode.SharpDevelop.addin

14
AddIns/ICSharpCode.SharpDevelop.addin

@ -1651,10 +1651,6 @@
icon = "Icons.16x16.CommentRegion" icon = "Icons.16x16.CommentRegion"
label = "${res:XML.TextAreaContextMenu.CommentUncommentSelection}" label = "${res:XML.TextAreaContextMenu.CommentUncommentSelection}"
class= "ICSharpCode.SharpDevelop.DefaultEditor.Commands.CommentRegion"/> class= "ICSharpCode.SharpDevelop.DefaultEditor.Commands.CommentRegion"/>
<!-- <MenuItem id = "Uncomment"
icon = "Icons.16x16.UnCommentRegion"
label = "${res:XML.TextAreaContextMenu.UncommentSelection}"
class= "ICSharpCode.SharpDevelop.DefaultEditor.Commands.UncommentRegion"/>-->
<MenuItem id = "Indent" <MenuItem id = "Indent"
label = "${res:XML.TextAreaContextMenu.Indent}" label = "${res:XML.TextAreaContextMenu.Indent}"
shortcut = "Control|I" shortcut = "Control|I"
@ -1811,6 +1807,15 @@
<MenuItem id = "LeadingSpaces2Tabs" <MenuItem id = "LeadingSpaces2Tabs"
label = "${res:XML.MainMenu.EditMenu.FormatMenu.LdSpace2Tab}" label = "${res:XML.MainMenu.EditMenu.FormatMenu.LdSpace2Tab}"
class ="ICSharpCode.SharpDevelop.DefaultEditor.Commands.ConvertLeadingSpacesToTabs"/> class ="ICSharpCode.SharpDevelop.DefaultEditor.Commands.ConvertLeadingSpacesToTabs"/>
<MenuItem id = "Separator4" type = "Separator" />
<MenuItem id = "Comment"
icon = "Icons.16x16.CommentRegion"
label = "${res:XML.TextAreaContextMenu.CommentUncommentSelection}"
class= "ICSharpCode.SharpDevelop.DefaultEditor.Commands.CommentRegion"/>
<MenuItem id = "Indent"
label = "${res:XML.TextAreaContextMenu.Indent}"
shortcut = "Control|I"
class = "ICSharpCode.SharpDevelop.DefaultEditor.Commands.IndentSelection" />
</Condition> </Condition>
</MenuItem> </MenuItem>
<MenuItem insertafter = "Format" insertbefore = "Separator3" id = "Folding" label = "${res:XML.MainMenu.EditMenu.FoldingMenu}" type="Menu"> <MenuItem insertafter = "Format" insertbefore = "Separator3" id = "Folding" label = "${res:XML.MainMenu.EditMenu.FoldingMenu}" type="Menu">
@ -1930,7 +1935,6 @@
<Path name = "/AddIns/DefaultTextEditor/EditActions"> <Path name = "/AddIns/DefaultTextEditor/EditActions">
<EditAction id = "TemplateCompletion" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.TemplateCompletion" keys = "Control|J"/> <EditAction id = "TemplateCompletion" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.TemplateCompletion" keys = "Control|J"/>
<EditAction id = "CodeCompletionPopup" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.CodeCompletionPopup" keys = "Control|Space"/> <EditAction id = "CodeCompletionPopup" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.CodeCompletionPopup" keys = "Control|Space"/>
<EditAction id = "IndentSelection" class = "ICSharpCode.TextEditor.Actions.IndentSelection" keys = "Control|I"/>
<EditAction id = "GoToDefinition" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.GoToDefinition" keys = "Control|Enter"/> <EditAction id = "GoToDefinition" class = "ICSharpCode.SharpDevelop.DefaultEditor.Actions.GoToDefinition" keys = "Control|Enter"/>
</Path> </Path>

Loading…
Cancel
Save