~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric-updates

« back to all changes in this revision

Viewing changes to src/addins/SourceEditor2/MonoDevelop.SourceEditor.addin.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2009-02-18 08:40:51 UTC
  • mfrom: (1.2.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090218084051-gh8m6ukvokbwj7cf
Tags: 1.9.2+dfsg-1ubuntu1
* Merge from Debian Experimental (LP: #330519), remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24
    - Add libmono-cairo1.0-cil to build-deps to fool pkg-config check

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<Addin id          = "SourceEditor"
2
 
       namespace   = "MonoDevelop"
3
 
       name        = "Text Editor"
4
 
       author      = "Ben Maurer, Lluis Sanchez, Todd Berman, Michael Hutchinson"
5
 
       copyright   = ""
6
 
       url         = ""
7
 
       description = "Provides a text editor for the MonoDevelop IDE based on GtkSourceView 2"
8
 
       category    = "MonoDevelop Core"
9
 
       version     = "1.0.2">
10
 
        
11
 
        <Runtime>
12
 
                <Import assembly="MonoDevelop.SourceEditor.dll"/>
13
 
        </Runtime>
14
 
 
15
 
        <Dependencies>
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"/>
22
 
        </Dependencies>
23
 
 
24
 
        <!-- Extension points -->
25
 
        
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" />
29
 
        </ExtensionPoint>
30
 
        
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"/>
34
 
        </ExtensionPoint>
35
 
        
36
 
        <ExtensionPoint path = "/MonoDevelop/SourceEditor/Formatters" name = "Formatters">
37
 
                <Description>Custom edit actions for the editor.</Description>
38
 
                <ExtensionNode name="Class" />
39
 
        </ExtensionPoint>
40
 
        
41
 
        
42
 
        <!-- Extensions -->
43
 
 
44
 
        <Extension path = "/MonoDevelop/Ide/Commands/TextEditor">
45
 
                <Command id = "MonoDevelop.SourceEditor.EditorCommands.HighlightingTypeList"
46
 
                                type = "array|radio"
47
 
                                _label = "" />
48
 
                <Command id = "MonoDevelop.SourceEditor.EditorCommands.ShowBufferOptions"
49
 
                                _label = "Buffer Options"
50
 
                                icon = "md-properties-icon" />
51
 
                <!-- FIXME GTKSV2
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"
59
 
                                shortcut = "Shift|F2"
60
 
                                _description = "Previous bookmark"
61
 
                                _label = "Previous Bookmark" />
62
 
                <Command id = "MonoDevelop.SourceEditor.EditorCommands.NextBookmark"
63
 
                                icon = "md-goto-nextbookmark"
64
 
                                shortcut = "F2"
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" />
76
 
                <!--FIXME GTKSV2
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"
82
 
                                _label = "_Print..." 
83
 
                                _description = "Print current document" 
84
 
                                icon  = "gtk-print"
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" />-->
91
 
        </Extension>
92
 
 
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" />
107
 
                </ItemSet>
108
 
        </Extension>
109
 
 
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" />
115
 
                        <!--FIXME GTKSV2
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" />
121
 
                        -->
122
 
                </ItemSet>
123
 
        </Extension>
124
 
        
125
 
        
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" />
132
 
                
133
 
                <SeparatorItem id = "SearchSeparator" />
134
 
                <CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.FindInFiles" />
135
 
                <CommandItem id = "MonoDevelop.Ide.Commands.SearchCommands.ReplaceInFiles" />
136
 
                <!--FIXME GTKSV2
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" />
142
 
                -->
143
 
                <SeparatorItem id = "Separator2" />
144
 
                <CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.GotoLineNumber" />
145
 
                <!--FIXME GTKSV2
146
 
                <SeparatorItem id = "Separator3" />
147
 
                <CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.GotoMatchingBrace" />
148
 
                -->
149
 
        </Extension>
150
 
        
151
 
        <Extension path = "/MonoDevelop/Ide/MainMenu/File">
152
 
                        <!--FIXME GTKSV2
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" />
159
 
                        -->
160
 
        </Extension>
161
 
        
162
 
        <Extension path = "/MonoDevelop/Ide/Toolbar/Standard">
163
 
                <!--FIXME GTKSV2
164
 
                <CommandItem id = "MonoDevelop.SourceEditor.EditorCommands.PrintDocument"
165
 
                                         insertafter = "MonoDevelop.Ide.Commands.FileCommands.SaveAll" />
166
 
                                         -->
167
 
        </Extension>
168
 
 
169
 
        <Extension path = "/MonoDevelop/Ide/OptionsDialogPanels">
170
 
                <DialogPanel id    = "TextEditorOptions"
171
 
                             insertafter = "CodingOptions"
172
 
                             insertbefore = "ToolsOptions"
173
 
                             _label = "Text Editor">
174
 
                        <DialogPanel id = "General"
175
 
                                     _label = "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"
181
 
                                     _label = "Behavior"
182
 
                                     class = "MonoDevelop.SourceEditor.Gui.OptionPanels.BehaviorTextEditorPanel"/>
183
 
                        <!--FIXME GTKSV2
184
 
                        <DialogPanel id = "SyntaxHighlighting"
185
 
                             _label = "Syntax Highlighting"
186
 
                             class = "MonoDevelop.SourceEditor.Gui.OptionPanels.SyntaxHighlightingPanel"/>
187
 
                    -->
188
 
                </DialogPanel>
189
 
        </Extension>
190
 
 
191
 
        
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"/>
196
 
        </Extension>
197
 
 
198
 
        <Extension path = "/MonoDevelop/Ide/DisplayBindings">
199
 
                <DisplayBinding id    = "NewText" insertafter="DefaultDisplayBinding"
200
 
                       supportedformats = "Text Files,Source Files"
201
 
                       class = "MonoDevelop.SourceEditor.Gui.SourceEditorDisplayBinding" />
202
 
        </Extension>
203
 
        
204
 
</Addin>