|
|
@ -129,60 +129,6 @@ |
|
|
|
</ComplexCondition> |
|
|
|
</ComplexCondition> |
|
|
|
</Path> |
|
|
|
</Path> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Right click menu --> |
|
|
|
|
|
|
|
<Path name="/SharpDevelop/ViewContent/XmlEditor/ContextMenu"> |
|
|
|
|
|
|
|
<MenuItem id="Cut" |
|
|
|
|
|
|
|
label="${res:XML.TextAreaContextMenu.Cut}" |
|
|
|
|
|
|
|
icon="Icons.16x16.CutIcon" |
|
|
|
|
|
|
|
shortcut="Control|X" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Cut"/> |
|
|
|
|
|
|
|
<MenuItem id="Copy" |
|
|
|
|
|
|
|
label="${res:XML.TextAreaContextMenu.Copy}" |
|
|
|
|
|
|
|
icon="Icons.16x16.CopyIcon" |
|
|
|
|
|
|
|
shortcut="Control|C" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Copy"/> |
|
|
|
|
|
|
|
<MenuItem id="Paste" |
|
|
|
|
|
|
|
label="${res:XML.TextAreaContextMenu.Paste}" |
|
|
|
|
|
|
|
icon="Icons.16x16.PasteIcon" |
|
|
|
|
|
|
|
shortcut="Control|V" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Paste"/> |
|
|
|
|
|
|
|
<MenuItem id="Delete" |
|
|
|
|
|
|
|
label="${res:XML.MainMenu.EditMenu.Delete}" |
|
|
|
|
|
|
|
icon="Icons.16x16.DeleteIcon" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Delete"/> |
|
|
|
|
|
|
|
<MenuItem id="Separator1" type="Separator"/> |
|
|
|
|
|
|
|
<MenuItem id="Save" |
|
|
|
|
|
|
|
label="${res:XML.MainMenu.FileMenu.Save}" |
|
|
|
|
|
|
|
icon="Icons.16x16.SaveIcon" |
|
|
|
|
|
|
|
shortcut="Control|S" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.SaveFile"/> |
|
|
|
|
|
|
|
<MenuItem id="SaveAs" |
|
|
|
|
|
|
|
label="${res:XML.MainMenu.FileMenu.SaveAs}" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.SaveFileAs"/> |
|
|
|
|
|
|
|
<MenuItem id="File" |
|
|
|
|
|
|
|
label="${res:XML.MainMenu.FileMenu.Close}" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.Commands.CloseFile"/> |
|
|
|
|
|
|
|
<MenuItem id="Separator2" type="Separator"/> |
|
|
|
|
|
|
|
<MenuItem id="Indent" |
|
|
|
|
|
|
|
label="${res:XML.TextAreaContextMenu.Indent}" |
|
|
|
|
|
|
|
shortcut="Control|I" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.DefaultEditor.Commands.IndentSelection"/> |
|
|
|
|
|
|
|
<MenuItem id="HideXPathResults" |
|
|
|
|
|
|
|
label="${res:ICSharpCode.XmlEditor.HideXPathResults}" |
|
|
|
|
|
|
|
class="ICSharpCode.XmlEditor.RemoveXPathHighlightingCommand"/> |
|
|
|
|
|
|
|
<MenuItem id="GoToDefinition" |
|
|
|
|
|
|
|
label="${res:ICSharpCode.NAntAddIn.GotoDefinitionMenuLabel}" |
|
|
|
|
|
|
|
class="ICSharpCode.XmlEditor.GoToSchemaDefinitionCommand"/> |
|
|
|
|
|
|
|
<MenuItem id="FileMode" label="${res:XML.TextAreaContextMenu.FileMode}" type="Menu"> |
|
|
|
|
|
|
|
<MenuItem id="HighlightBuilder" type="Builder" class="ICSharpCode.SharpDevelop.DefaultEditor.Commands.HighlightingTypeBuilder"/> |
|
|
|
|
|
|
|
</MenuItem> |
|
|
|
|
|
|
|
<MenuItem id="Separator3" type="Separator"/> |
|
|
|
|
|
|
|
<MenuItem id="Options" |
|
|
|
|
|
|
|
label="${res:XML.TextAreaContextMenu.BufferOptions}" |
|
|
|
|
|
|
|
icon="Icons.16x16.PropertiesIcon" |
|
|
|
|
|
|
|
class="ICSharpCode.SharpDevelop.DefaultEditor.Commands.ShowBufferOptions"/> |
|
|
|
|
|
|
|
</Path> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Options panel --> |
|
|
|
<!-- Options panel --> |
|
|
|
<Path path="/SharpDevelop/Dialogs/OptionsDialog/TextEditorOptions"> |
|
|
|
<Path path="/SharpDevelop/Dialogs/OptionsDialog/TextEditorOptions"> |
|
|
|
<OptionPanel id="XmlSchemasPanel" |
|
|
|
<OptionPanel id="XmlSchemasPanel" |
|
|
@ -196,11 +142,6 @@ |
|
|
|
class="ICSharpCode.XmlEditor.XmlEditorOptionsPanel"/> |
|
|
|
class="ICSharpCode.XmlEditor.XmlEditorOptionsPanel"/> |
|
|
|
</Path> |
|
|
|
</Path> |
|
|
|
|
|
|
|
|
|
|
|
<Path path="/AddIns/XmlEditor/EditActions"> |
|
|
|
|
|
|
|
<EditAction id="XmlCompletionPopup" class="ICSharpCode.XmlEditor.CodeCompletionPopupCommand" keys="Control|Space"/> |
|
|
|
|
|
|
|
<EditAction id="GoToDefinition" class="ICSharpCode.XmlEditor.GoToSchemaDefinitionEditAction" keys="Control|Enter"/> |
|
|
|
|
|
|
|
</Path> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- XPath Query pad --> |
|
|
|
<!-- XPath Query pad --> |
|
|
|
<Path name="/SharpDevelop/Workbench/Pads"> |
|
|
|
<Path name="/SharpDevelop/Workbench/Pads"> |
|
|
|
<Pad id="XPathQueryPad" |
|
|
|
<Pad id="XPathQueryPad" |
|
|
@ -242,21 +183,21 @@ |
|
|
|
label="${res:XML.TextAreaContextMenu.Cut}" |
|
|
|
label="${res:XML.TextAreaContextMenu.Cut}" |
|
|
|
icon="Icons.16x16.CutIcon" |
|
|
|
icon="Icons.16x16.CutIcon" |
|
|
|
shortcut="Control|X" |
|
|
|
shortcut="Control|X" |
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Cut"/> |
|
|
|
class="ICSharpCode.XmlEditor.CutXmlTreeNode"/> |
|
|
|
<MenuItem id="Copy" |
|
|
|
<MenuItem id="Copy" |
|
|
|
label="${res:XML.TextAreaContextMenu.Copy}" |
|
|
|
label="${res:XML.TextAreaContextMenu.Copy}" |
|
|
|
icon="Icons.16x16.CopyIcon" |
|
|
|
icon="Icons.16x16.CopyIcon" |
|
|
|
shortcut="Control|C" |
|
|
|
shortcut="Control|C" |
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Copy"/> |
|
|
|
class="ICSharpCode.XmlEditor.CopyXmlTreeNode"/> |
|
|
|
<MenuItem id="Paste" |
|
|
|
<MenuItem id="Paste" |
|
|
|
label="${res:XML.TextAreaContextMenu.Paste}" |
|
|
|
label="${res:XML.TextAreaContextMenu.Paste}" |
|
|
|
icon="Icons.16x16.PasteIcon" |
|
|
|
icon="Icons.16x16.PasteIcon" |
|
|
|
shortcut="Control|V" |
|
|
|
shortcut="Control|V" |
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Paste"/> |
|
|
|
class="ICSharpCode.XmlEditor.PasteXmlTreeNode"/> |
|
|
|
<MenuItem id="Delete" |
|
|
|
<MenuItem id="Delete" |
|
|
|
label="${res:XML.MainMenu.EditMenu.Delete}" |
|
|
|
label="${res:XML.MainMenu.EditMenu.Delete}" |
|
|
|
icon="Icons.16x16.DeleteIcon" |
|
|
|
icon="Icons.16x16.DeleteIcon" |
|
|
|
class="ICSharpCode.SharpDevelop.Commands.Delete"/> |
|
|
|
class="ICSharpCode.XmlEditor.DeleteXmlTreeNode"/> |
|
|
|
<MenuItem id="EditItemsSeparator" type="Separator"/> |
|
|
|
<MenuItem id="EditItemsSeparator" type="Separator"/> |
|
|
|
<ComplexCondition action="Disable"> |
|
|
|
<ComplexCondition action="Disable"> |
|
|
|
<Or> |
|
|
|
<Or> |
|
|
|