1
<Addin id = "SourceEditor"
2
namespace = "MonoDevelop"
4
author = "Ben Maurer, Lluis Sanchez, Todd Berman, Michael Hutchinson"
7
description = "Provides a text editor for the MonoDevelop IDE based on GtkSourceView 2"
8
category = "MonoDevelop Core"
12
<Import assembly="MonoDevelop.SourceEditor.dll"/>
16
<Addin id="Core" version="1.0.0"/>
17
<Addin id="Core.Gui" version="1.0.0"/>
18
<Addin id="Projects" version="1.0.0"/>
19
<Addin id="Projects.Gui" version="1.0.0"/>
20
<Addin id="Ide" version="1.0.0"/>
21
<Addin id="Components" version="1.0.0"/>
24
<!-- Extension points -->
26
<ExtensionPoint path = "/MonoDevelop/SourceEditor/ContextMenu/Editor" name = "Editor context menu">
27
<Description>Context menu for the editor.</Description>
28
<ExtensionNodeSet id="MonoDevelop.Components.Commands.ItemSet" />
31
<ExtensionPoint path = "/MonoDevelop/SourceEditor/EditActions" name = "Custom edit actions">
32
<Description>Custom edit actions for the editor.</Description>
33
<ExtensionNode name="EditAction" type="MonoDevelop.SourceEditor.Codons.EditActionCodon"/>
36
<ExtensionPoint path = "/MonoDevelop/SourceEditor/Formatters" name = "Formatters">
37
<Description>Custom edit actions for the editor.</Description>
38
<ExtensionNode name="Class" />
44
<Extension path = "/MonoDevelop/Ide/Commands/TextEditor">
45
<Command id = "MonoDevelop.SourceEditor.EditorCommands.HighlightingTypeList"
48
<Command id = "MonoDevelop.SourceEditor.EditorCommands.ShowBufferOptions"
49
_label = "Buffer Options"
50
icon = "md-properties-icon" />
52
<Command id = "MonoDevelop.SourceEditor.EditorCommands.ToggleBookmark"
53
icon = "md-toggle-bookmark"
54
shortcut = "Control|F2"
55
_description = "Toggle bookmark"
56
_label = "Toggle Bookmark" />
57
<Command id = "MonoDevelop.SourceEditor.EditorCommands.PrevBookmark"
58
icon = "md-goto-prevbookmark"
60
_description = "Previous bookmark"
61
_label = "Previous Bookmark" />
62
<Command id = "MonoDevelop.SourceEditor.EditorCommands.NextBookmark"
63
icon = "md-goto-nextbookmark"
65
_description = "Next bookmark"
66
_label = "Next Bookmark" />
67
<Command id = "MonoDevelop.SourceEditor.EditorCommands.ClearBookmarks"
68
icon = "md-clear-all-bookmarks"
69
_description = "Clear bookmarks"
70
_label = "Clear Bookmarks" />-->
71
<Command id = "MonoDevelop.SourceEditor.EditorCommands.GotoLineNumber"
72
_label = "_Go to Line..."
73
description = "Go to line"
74
shortcut = "Control|G"
75
icon = "gtk-jump-to" />
77
<Command id = "MonoDevelop.SourceEditor.EditorCommands.GotoMatchingBrace"
78
_label = "Go to Matching _Brace"
79
description = "Go to Matching Brace"
80
shortcut = "Control|B" />
81
<Command id = "MonoDevelop.SourceEditor.EditorCommands.PrintDocument"
83
_description = "Print current document"
85
shortcut = "Control|P" />
86
<Command id = "MonoDevelop.SourceEditor.EditorCommands.PrintPreviewDocument"
87
_label = "Print Previe_w"
88
description = "Show print preview"
89
icon = "gtk-print-preview"
90
shortcut = "Shift|Control|P" />-->
93
<Extension path = "/MonoDevelop/SourceEditor/ContextMenu/Editor">
94
<CommandItem id = "MonoDevelop.Ide.Commands.RefactoryCommands.CurrentRefactoryOperations" />
95
<CommandItem id = "MonoDevelop.Ide.Commands.HelpCommands.Help" />
96
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.Save" />
97
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.SaveAs" />
98
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.CloseFile" />
99
<SeparatorItem id = "Separator1" />
100
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.CommentCode" />
101
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.UncommentCode" />
102
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.IndentSelection" />
103
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.UnIndentSelection" />
104
<ItemSet id = "Advanced" _label = "_Advanced">
105
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.UppercaseSelection" />
106
<CommandItem id = "MonoDevelop.Ide.Commands.EditCommands.LowercaseSelection" />
110
<Extension path = "/MonoDevelop/Ide/Toolbar">
111
<ItemSet id = "Search" insertafter = "Standard" insertbefore = "Build" _label="Search">
112
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.Find" />
113
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindNext" />
114
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.Replace" />
116
<SeparatorItem id = "SearchSeparator" />
117
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.ToggleBookmark" />
118
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrevBookmark" />
119
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.NextBookmark" />
120
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.ClearBookmarks" />
126
<Extension path = "/MonoDevelop/Ide/MainMenu/Search">
127
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.Find" />
128
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindPrevious" />
129
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindNext" />
130
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindNextSelection" />
131
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.Replace" />
133
<SeparatorItem id = "SearchSeparator" />
134
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindInFiles" />
135
<CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.ReplaceInFiles" />
137
<SeparatorItem id = "SearchInFilesSeparator" />
138
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.ToggleBookmark" />
139
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrevBookmark" />
140
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.NextBookmark" />
141
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.ClearBookmarks" />
143
<SeparatorItem id = "Separator2" />
144
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.GotoLineNumber" />
146
<SeparatorItem id = "Separator3" />
147
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.GotoMatchingBrace" />
151
<Extension path = "/MonoDevelop/Ide/MainMenu/File">
153
<SeparatorItem id = "PrintSeparator" insertafter = "SaveSeparator" />
154
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrintPreviewDocument"
155
insertafter = "SaveSeparator"
156
insertbefore = "PrintSeparator" />
157
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrintDocument"
158
insertafter = "MonoDevelop.SourceEditor.EditorCommands.PrintPreviewDocument" />
162
<Extension path = "/MonoDevelop/Ide/Toolbar/Standard">
164
<CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrintDocument"
165
insertafter = "MonoDevelop.Ide.Commands.FileCommands.SaveAll" />
169
<Extension path = "/MonoDevelop/Ide/OptionsDialogPanels">
170
<DialogPanel id = "TextEditorOptions"
171
insertafter = "CodingOptions"
172
insertbefore = "ToolsOptions"
173
_label = "Text Editor">
174
<DialogPanel id = "General"
176
class = "MonoDevelop.SourceEditor.Gui.OptionPanels.GeneralTextEditorPanel"/>
177
<DialogPanel id = "Markers"
178
_label = "Markers and Rulers"
179
class = "MonoDevelop.SourceEditor.Gui.OptionPanels.MarkersTextEditorPanel"/>
180
<DialogPanel id = "Behavior"
182
class = "MonoDevelop.SourceEditor.Gui.OptionPanels.BehaviorTextEditorPanel"/>
184
<DialogPanel id = "SyntaxHighlighting"
185
_label = "Syntax Highlighting"
186
class = "MonoDevelop.SourceEditor.Gui.OptionPanels.SyntaxHighlightingPanel"/>
192
<Extension path = "/MonoDevelop/SourceEditor/EditActions" extension-nodes="EditAction" description="Custom edit actions.">
193
<!-- these are the default editor actions -->
194
<EditAction id = "Tab" class = "MonoDevelop.SourceEditor.Actions.Tab" keys = "Tab"/>
195
<EditAction id = "Return" class = "MonoDevelop.SourceEditor.Actions.Return" keys = "Return"/>
198
<Extension path = "/MonoDevelop/Ide/DisplayBindings">
199
<DisplayBinding id = "NewText" insertafter="DefaultDisplayBinding"
200
supportedformats = "Text Files,Source Files"
201
class = "MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding" />