home *** CD-ROM | disk | FTP | other *** search
- <AddIn name = "Default Text Editor"
- author = "Mike Krueger"
- copyright = "GPL"
- url = "http://www.icsharpcode.net"
- description = "NCvs texteditor module"
- version = "1.0.0">
-
- <Runtime>
- <Import assembly="SharpDevelop.DefaultTexteditor.dll"/>
- </Runtime>
-
- <Extension path = "/SharpDevelop/Views/ProjectBrowser/ContextMenu">
- <!-- AddIn to the Project Add Menu -->
- <Conditional ownerstate="ProjectSelected">
- <MenuItem id = "ExportToHtml"
- insertafter = "GenerateDocumentation"
- insertbefore = "Separator5"
- label = "${res:ProjectComponent.ContextMenu.HtmlExport}"
- class = "SharpDevelop.DefaultEditor.Commands.ExportProjectToHtml"/>
- </Conditional>
- </Extension>
-
- <Extension path = "/AddIns/DefaultTextEditor/Formater">
- <Class id ="DefaultFormater" class = "SharpDevelop.DefaultEditor.Text.DefaultFormatingStrategy"/>
- </Extension>
- <Extension path = "/SharpDevelop/Workbench/MainMenu/Project">
- <!-- AddIn to the Project Add Menu -->
- <Conditional openproject="*">
- <MenuItem id = "ExportToHtml"
- insertafter = "GenerateDocumentation"
- insertbefore = "Separator2"
- label = "${res:ProjectComponent.ContextMenu.HtmlExport}"
- class = "SharpDevelop.DefaultEditor.Commands.ExportProjectToHtml"/>
- </Conditional>
- </Extension>
-
- <Extension path = "/SharpDevelop/Workbench/DisplayBindings">
- <Class id = "Text"
- insertafter = "Browser"
- class = "SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding" />
- </Extension>
-
- <Extension path = "/SharpDevelop/WindowContent/DefaultTextEditor/ContextMenu">
- <MenuItem id = "Cut"
- label = "${res:XML.TextAreaContextMenu.Cut}"
- icon = "Icons.16x16.CutIcon"
- shortcut = "Ctrl+X"
- class = "SharpDevelop.Base.Commands.Cut"/>
- <MenuItem id = "Copy"
- label = "${res:XML.TextAreaContextMenu.Copy}"
- icon = "Icons.16x16.CopyIcon"
- shortcut = "Ctrl+C"
- class = "SharpDevelop.Base.Commands.Copy"/>
- <MenuItem id = "Paste"
- label = "${res:XML.TextAreaContextMenu.Paste}"
- icon = "Icons.16x16.PasteIcon"
- shortcut = "Ctrl+V"
- class = "SharpDevelop.Base.Commands.Paste"/>
- <MenuItem id = "Delete"
- label = "${res:XML.MainMenu.EditMenu.Delete}"
- icon = "Icons.16x16.DeleteIcon"
- class = "SharpDevelop.Base.Commands.Delete"/>
- <MenuItem id = "Separator1" label = "-" />
- <MenuItem id = "Save"
- label = "${res:XML.MainMenu.FileMenu.Save}"
- icon = "Icons.16x16.SaveIcon"
- shortcut = "CtrlS"
- class = "SharpDevelop.Base.Commands.SaveFile"/>
- <MenuItem id = "SaveAs"
- label = "${res:XML.MainMenu.FileMenu.SaveAs}"
- class = "SharpDevelop.Base.Commands.SaveFileAs"/>
- <MenuItem id = "File"
- label = "${res:XML.MainMenu.FileMenu.Close}"
- class ="SharpDevelop.Base.Commands.CloseFile"/>
- <MenuItem id = "Separator2" label = "-" />
- <MenuItem id = "Indent"
- label = "${res:XML.TextAreaContextMenu.Indent}"
- shortcut = "CtrlI"
- class = "SharpDevelop.DefaultEditor.Commands.IndentSelection" />
- <MenuItem id = "FileMode" label = "${res:XML.TextAreaContextMenu.FileMode}">
- <MenuItem id = "HighlightBuilder" label = "boguslabel" class = "SharpDevelop.DefaultEditor.Commands.HighlightingTypeBuilder" />
- </MenuItem>
- <MenuItem id = "Separator3" label = "-" />
- <MenuItem id = "Options"
- label = "${res:XML.TextAreaContextMenu.BufferOptions}"
- icon = "Icons.16x16.PropertiesIcon"
- class ="SharpDevelop.DefaultEditor.Commands.ShowBufferOptions"/>
- </Extension>
-
- <Extension path = "/SharpDevelop/Workbench/MainMenu">
- <MenuItem id = "Search" insertafter ="View" insertbefore ="Tools" label = "${res:XML.MainMenu.SearchMenu}">
- <Conditional action="Disable">
- <Or>
- <Condition activewindow="SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding"/>
- <Condition openproject="*"/>
- </Or>
-
- <MenuItem id = "Find"
- label = "${res:XML.MainMenu.SearchMenu.Find}"
- icon = "Icons.16x16.FindIcon"
- description = "${res:XML.MainMenu.SearchMenu.Find.Description}"
- shortcut = "CtrlF"
- class = "SharpDevelop.DefaultEditor.Commands.Find"/>
- <MenuItem id = "FindNext"
- label = "${res:XML.MainMenu.SearchMenu.FindNext}"
- icon = "Icons.16x16.FindNextIcon"
- description = "${res:XML.MainMenu.SearchMenu.FindNext.Description}"
- shortcut = "F3"
- class = "SharpDevelop.DefaultEditor.Commands.FindNext"/>
- <MenuItem id = "Replace"
- label = "${res:XML.MainMenu.SearchMenu.Replace}"
- icon = "Icons.16x16.ReplaceIcon"
- description = "${res:XML.MainMenu.SearchMenu.Replace.Description}"
- shortcut = "CtrlR"
- class = "SharpDevelop.DefaultEditor.Commands.Replace"/>
- </Conditional>
- <MenuItem id = "Separator1" label = "-" />
- <Conditional activewindow="SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding" action="Disable">
-
- <MenuItem id = "ToggleBookmark"
- label = "${res:XML.MainMenu.SearchMenu.ToggleBookmark}"
- description = "${res:XML.MainMenu.SearchMenu.ToggleBookmark.Description}"
- shortcut = "CtrlF2"
- class = "SharpDevelop.DefaultEditor.Commands.ToggleBookmark"/>
- <MenuItem id = "PrevBookmark"
- label = "${res:XML.MainMenu.SearchMenu.PrevBookmark}"
- description = "${res:XML.MainMenu.SearchMenu.PrevBookmark.Description}"
- shortcut = "AltF2"
- class = "SharpDevelop.DefaultEditor.Commands.PrevBookmark"/>
- <MenuItem id = "NextBookmark"
- label = "${res:XML.MainMenu.SearchMenu.NextBookmark}"
- description = "${res:XML.MainMenu.SearchMenu.NextBookmark.Description}"
- shortcut = "F2"
- class = "SharpDevelop.DefaultEditor.Commands.NextBookmark"/>
- <MenuItem id = "ClearBookmarks"
- label = "${res:XML.MainMenu.SearchMenu.ClrBookmark}"
- description = "${res:XML.MainMenu.SearchMenu.ClrBookmark.Description}"
- class = "SharpDevelop.DefaultEditor.Commands.ClearBookmarks"/>
- <MenuItem id = "Separator2" label = "-" />
- <MenuItem id = "GotoLineNr"
- label = "${res:XML.MainMenu.SearchMenu.GotoLineNr}"
- description = "${res:XML.MainMenu.SearchMenu.GotoLineNr.Description}"
- shortcut = "CtrlG"
- class = "SharpDevelop.DefaultEditor.Commands.GotoLineNumber"/>
- <MenuItem id = "Separator3" label = "-" />
- <MenuItem id = "GotoBrace"
- label = "${res:XML.MainMenu.SearchMenu.GotoBrace}"
- description = "${res:XML.MainMenu.SearchMenu.GotoBrace.Description}"
- shortcut = "CtrlB"
- class = "SharpDevelop.DefaultEditor.Commands.GotoMatchingBrace"/>
- </Conditional>
- </MenuItem>
- </Extension>
-
- <Extension path = "/SharpDevelop/Workbench/MainMenu/Edit">
- <MenuItem insertafter = "Delete" insertbefore = "SelectAll" id = "Separator2" label = "-" />
- <MenuItem insertafter = "Separator2" insertbefore = "Separator3" id = "Format" label = "${res:XML.MainMenu.EditMenu.FormatMenu}">
- <Conditional activewindow="SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding" action="Disable">
-
- <MenuItem id = "RemoveLeadingWs"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.RlWs}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.RlWs.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.RemoveLeadingWS"/>
- <MenuItem id = "RemoveTrailingWs"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.RtWs}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.RtWs.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.RemoveTrailingWS"/>
- <MenuItem id = "Seperator1" label = "-" />
- <MenuItem id = "UpperCase"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.UpperCase}"
- icon = "Icons.16x16.LowerToUpperCase"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.UpperCase.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ToUpperCase"/>
- <MenuItem id = "LowerCase"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.LowerCase}"
- icon = "Icons.16x16.UpperToLowerCase"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.LowerCase.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ToLowerCase"/>
- <MenuItem id = "Capitalize"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.Capitalize}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.Capitalize.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.CapitalizeAction"/>
- <MenuItem id = "InvertCase"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.InvertCase}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.InvertCase.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.InvertCaseAction"/>
- <MenuItem id = "Separator2" label = "-" />
- <MenuItem id = "Tabs2Spaces"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.Tab2Space}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.Tab2Space.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ConvertTabsToSpaces"/>
- <MenuItem id = "Spaces2Tabs"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.Space2Tab}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.Space2Tab.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ConvertSpacesToTabs"/>
- <MenuItem id = "LeadingTabs2Spaces"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.LdTab2Space}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.LdTab2Space.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ConvertLeadingTabsToSpaces"/>
- <MenuItem id = "LeadingSpaces2Tabs"
- label = "${res:XML.MainMenu.EditMenu.FormatMenu.LdSpace2Tab}"
- description = "${res:XML.MainMenu.EditMenu.FormatMenu.LdSpace2Tab.Description}"
- class ="SharpDevelop.DefaultEditor.Commands.ConvertLeadingSpacesToTabs"/>
- </Conditional>
- </MenuItem>
- <MenuItem insertafter = "Separator2" insertbefore = "SelectAll" id = "Separator3" label = "-" />
- </Extension>
-
- <Extension path = "/SharpDevelop/WindowContent/DefaultTextEditor/OptionsDialog">
- <DialogPanel id = "General"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.General.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.GeneralTextEditorPanel"/>
- <DialogPanel id = "Markers"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.Markers.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.MarkersTextEditorPanel"/>
- <DialogPanel id = "Behavior"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.BehaviorTextEditorPanel"/>
- </Extension>
-
- <Extension path = "/SharpDevelop/Dialogs/OptionsDialog">
- <DialogPanel id = "TextEditorOptions"
- insertafter = "CodingOptions"
- insertbefore = "ToolsOptions"
- label = "${res:Dialog.Options.IDEOptions.TextEditorOptionsText}">
- <DialogPanel id = "General"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.General.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.GeneralTextEditorPanel"/>
- <DialogPanel id = "Markers"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.Markers.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.MarkersTextEditorPanel"/>
- <DialogPanel id = "Behavior"
- label = "${res:Dialog.Options.IDEOptions.TextEditor.Behaviour.PanelName}"
- class = "SharpDevelop.DefaultEditor.Gui.OptionPanels.BehaviorTextEditorPanel"/>
- </DialogPanel>
- </Extension>
-
- <Extension path = "/SharpDevelop/Workbench/MainMenu/Tools">
- <Conditional activewindow="SharpDevelop.DefaultEditor.Gui.Editor.TextEditorDisplayBinding" action="Disable">
- <MenuItem id = "InsertColor"
- insertafter = "Separator1" insertbefore = "Options"
- label = "${res:XML.MainMenu.ToolMenu.InsColor}"
- description = "${res:XML.MainMenu.ToolMenu.InsColor.Description}"
- class = "SharpDevelop.DefaultEditor.Commands.ShowColorDialog"/>
- </Conditional>
- </Extension>
-
- <Extension path = "/AddIns/DefaultTextEditor/EditActions">
- <!-- Caret -->
- <EditAction id = "Right" class = "SharpDevelop.DefaultEditor.Actions.CaretRight" keys = "Right"/>
- <EditAction id = "Left" class = "SharpDevelop.DefaultEditor.Actions.CaretLeft" keys = "Left"/>
- <EditAction id = "Up" class = "SharpDevelop.DefaultEditor.Actions.CaretUp" keys = "Up"/>
- <EditAction id = "Down" class = "SharpDevelop.DefaultEditor.Actions.CaretDown" keys = "Down"/>
-
- <EditAction id = "WordLeft" class = "SharpDevelop.DefaultEditor.Actions.WordLeft" keys = "Left|Control"/>
- <EditAction id = "WordRight" class = "SharpDevelop.DefaultEditor.Actions.WordRight" keys = "Right|Control"/>
-
- <EditAction id = "LineUp" class = "SharpDevelop.DefaultEditor.Actions.ScrollLineUp" keys = "Up|Control"/>
- <EditAction id = "LineDown" class = "SharpDevelop.DefaultEditor.Actions.ScrollLineDown" keys = "Down|Control"/>
-
- <!-- Selection -->
- <EditAction id = "SelectAll" class = "SharpDevelop.DefaultEditor.Actions.SelectWholeDocument" keys = "Control|A"/>
- <EditAction id = "ClearSelections" class = "SharpDevelop.DefaultEditor.Actions.ClearAllSelections" keys = "Escape"/>
-
- <EditAction id = "ShRight" class = "SharpDevelop.DefaultEditor.Actions.ShiftCaretRight" keys = "Right|Shift"/>
- <EditAction id = "ShLeft" class = "SharpDevelop.DefaultEditor.Actions.ShiftCaretLeft" keys = "Left|Shift"/>
- <EditAction id = "ShUp" class = "SharpDevelop.DefaultEditor.Actions.ShiftCaretUp" keys = "Up|Shift"/>
- <EditAction id = "ShDown" class = "SharpDevelop.DefaultEditor.Actions.ShiftCaretDown" keys = "Down|Shift"/>
-
- <EditAction id = "ShWordLeft" class = "SharpDevelop.DefaultEditor.Actions.ShiftWordLeft" keys = "Left|Control|Shift"/>
- <EditAction id = "ShWordRight" class = "SharpDevelop.DefaultEditor.Actions.ShiftWordRight" keys = "Right|Control|Shift"/>
-
- <EditAction id = "ShHome" class = "SharpDevelop.DefaultEditor.Actions.ShiftHome" keys = "Home|Shift"/>
- <EditAction id = "ShEnd" class = "SharpDevelop.DefaultEditor.Actions.ShiftEnd" keys = "End|Shift"/>
-
- <EditAction id = "ShGotoStart" class = "SharpDevelop.DefaultEditor.Actions.ShiftMoveToStart" keys = "Home|Control|Shift"/>
- <EditAction id = "ShGotoEnd" class = "SharpDevelop.DefaultEditor.Actions.ShiftMoveToEnd" keys = "End|Control|Shift"/>
-
- <EditAction id = "ShPgUp" class = "SharpDevelop.DefaultEditor.Actions.ShiftMovePageUp" keys = "PageUp|Shift"/>
- <EditAction id = "ShPgDn" class = "SharpDevelop.DefaultEditor.Actions.ShiftMovePageDown" keys = "PageDown|Shift"/>
-
- <!-- Home & End -->
- <EditAction id = "Home" class = "SharpDevelop.DefaultEditor.Actions.Home" keys = "Home"/>
- <EditAction id = "End" class = "SharpDevelop.DefaultEditor.Actions.End" keys = "End"/>
-
- <EditAction id = "GotoStart" class = "SharpDevelop.DefaultEditor.Actions.MoveToStart" keys = "Home|Control"/>
- <EditAction id = "GotoEnd" class = "SharpDevelop.DefaultEditor.Actions.MoveToEnd" keys = "End|Control"/>
-
- <!-- Tab -->
- <EditAction id = "Tab" class = "SharpDevelop.DefaultEditor.Actions.Tab" keys = "Tab"/>
- <EditAction id = "ShTab" class = "SharpDevelop.DefaultEditor.Actions.ShiftTab" keys = "Tab|Shift"/>
-
- <!-- PgUp/PgDn -->
- <EditAction id = "PgUp" class = "SharpDevelop.DefaultEditor.Actions.MovePageUp" keys = "PageUp"/>
- <EditAction id = "PgDn" class = "SharpDevelop.DefaultEditor.Actions.MovePageDown" keys = "PageDown"/>
-
- <!-- Insert & Delete -->
- <EditAction id = "Backspace" class = "SharpDevelop.DefaultEditor.Actions.Backspace" keys = "Back"/>
- <EditAction id = "Delete" class = "SharpDevelop.DefaultEditor.Actions.Delete" keys = "Delete"/>
-
- <!-- Misc -->
- <EditAction id = "Return" class = "SharpDevelop.DefaultEditor.Actions.Return" keys = "Return,Return|Shift,Return|Control"/>
-
- <EditAction id = "ReplaceInsert" class = "SharpDevelop.DefaultEditor.Actions.ToggleEditMode" keys = "Insert"/>
-
- <EditAction id = "Togglecomment" class = "SharpDevelop.DefaultEditor.Actions.ToggleComment" keys = "Divide|Control"/>
-
- <EditAction id = "TemplateCompletion" class = "SharpDevelop.DefaultEditor.Actions.TemplateCompletion" keys = "Control|J"/>
-
- <!-- ClipBoard -->
- <EditAction id = "Cut" class = "SharpDevelop.DefaultEditor.Actions.Cut" keys = "Delete|Shift,Control|X"/>
- <EditAction id = "Copy" class = "SharpDevelop.DefaultEditor.Actions.Copy" keys = "Insert|Control,Control|C"/>
- <EditAction id = "Paste" class = "SharpDevelop.DefaultEditor.Actions.Paste" keys = "Insert|Shift,Control|V"/>
-
- <!-- Undo/Redo -->
- <EditAction id = "Undo" class = "SharpDevelop.DefaultEditor.Actions.Undo" keys = "Control|Z,Back|Alt"/>
- <EditAction id = "Redo" class = "SharpDevelop.DefaultEditor.Actions.Redo" keys = "Control|Y"/>
- </Extension>
-
- </AddIn>
-