Use STL algorithms more often
[TortoiseGit.git] / src / Resources / TortoiseGitMergeRibbon.xml
blobdc88d93899c16d23022915bab631c1cdd5ca03ce
1 <?xml version="1.0" encoding="utf-8"?>
2 <Application xmlns='http://schemas.microsoft.com/windows/2009/Ribbon'>
3   <Application.Commands>
4     <Command Name="cmdTabEdit"
5              Id="10000" Keytip="E">
6       <Command.LabelTitle>
7         <String Id ="20000">Edit</String>
8       </Command.LabelTitle>
9     </Command>
10     <!--
11     Optional Symbol and Id properties are not defined for the following commands.
12     A Symbol same as the name of the command
13     and a valid Id for this command will be automatically generated.
14     -->
15     <Command Name="cmdGroupEdit" LabelTitle="Edit"/>
16     <Command Name="cmdGroupNavigate" LabelTitle="Navigate"/>
17     <Command Name="cmdGroupBlocks" LabelTitle="Blocks"/>
18     <Command Name="cmdGroupWhitespaces" LabelTitle="Whitespaces"/>
19     <Command Name="cmdGroupDiff" LabelTitle="Diff" />
20     <Command Name="cmdGroupView" LabelTitle="View"/>
22     <Command Name="cmdOpen" LabelTitle="&amp;Open" Keytip="o1" Id="0xE101">
23       <Command.LargeImages>
24         <Image Source="ribbon/Open.bmp"/>
25       </Command.LargeImages>
26     </Command>
27     <Command Name="cmdSave" LabelTitle="&amp;Save" Keytip="S" Id="0xE103">
28       <Command.LargeImages>
29         <Image Source="ribbon/Save.bmp"/>
30       </Command.LargeImages>
31     </Command>
32     <Command Name="cmdSaveAs" LabelTitle="Save &amp;as" Id="0xE104">
33       <Command.LargeImages>
34         <Image Source="ribbon/SaveAs.bmp"/>
35       </Command.LargeImages>
36     </Command>
37     <Command Name="cmdShowFileList" LabelTitle="&amp;Hide/Show the patch file list" Id="32817">
38       <Command.LargeImages>
39         <Image Source="ribbon/FileList.bmp"/>
40       </Command.LargeImages>
41     </Command>
42     <Command Name="cmdSettings" LabelTitle="Settings" Id="32782">
43       <Command.LargeImages>
44         <Image Source="ribbon/Settings.bmp"/>
45       </Command.LargeImages>
46     </Command>
47     <Command Name="cmdCreateUnifiedDiff" LabelTitle="Create &amp;patch file" Id="32828">
48       <Command.LargeImages>
49         <Image Source="ribbon/UniDiff.bmp"/>
50       </Command.LargeImages>
51     </Command>
52     <Command Name="cmdAbout" LabelTitle="Abou&amp;t TortoiseGitMerge" Id="0xE140">
53       <Command.LargeImages>
54         <Image Source="ribbon/About.bmp"/>
55       </Command.LargeImages>
56     </Command>
57     <Command Name="cmdUndo" LabelTitle="Undo" Id="0xE12B" Keytip="Z">
58       <Command.LargeImages>
59         <Image Source="ribbon/Undo.bmp"/>
60       </Command.LargeImages>
61     </Command>
62     <Command Name="cmdRedo" LabelTitle="Redo" Id="0xE12C" Keytip="Y">
63       <Command.LargeImages>
64         <Image Source="ribbon/Redo.bmp"/>
65       </Command.LargeImages>
66     </Command>
67     <Command Name="cmdReload" LabelTitle="Reload" Id="32794" Keytip="R">
68       <Command.LargeImages>
69         <Image Source="ribbon/Refresh.bmp"/>
70       </Command.LargeImages>
71     </Command>
72     <Command Name="cmdEditEnabled" LabelTitle="Enable Edit" Id="32976" Keytip="E">
73       <Command.LargeImages>
74         <Image Source="ribbon/EditEnabled.bmp"/>
75       </Command.LargeImages>
76     </Command>
77     <Command Name="cmdCopy" LabelTitle="Copy" Id="0xE122" Keytip="C">
78       <Command.LargeImages>
79         <Image Source="ribbon/Copy.bmp"/>
80       </Command.LargeImages>
81     </Command>
82     <Command Name="cmdPaste" LabelTitle="Paste" Id="0xE125" Keytip="V">
83       <Command.LargeImages>
84         <Image Source="ribbon/Paste.bmp"/>
85       </Command.LargeImages>
86     </Command>
87     <Command Name="cmdFind" LabelTitle="Find" Id="0xE124" Keytip="F">
88       <Command.LargeImages>
89         <Image Source="ribbon/Search.bmp"/>
90       </Command.LargeImages>
91     </Command>
92     <Command Name="cmdGotoLine" LabelTitle="Goto Line" Id="32893" Keytip="G">
93       <Command.LargeImages>
94         <Image Source="ribbon/Goto.bmp"/>
95       </Command.LargeImages>
96     </Command>
97     <Command Name="cmdMarkResolved" Id="32808" LabelTitle="Mark as resolved" Keytip="">
98       <Command.LargeImages>
99         <Image Source="ribbon/Check.bmp"/>
100       </Command.LargeImages>
101     </Command>
103     <Command Name="cmdNavigatePreviousDifference" LabelTitle="Previous difference" Id="32780" Keytip="PD">
104       <Command.LargeImages>
105         <Image Source="ribbon/UpGreen.bmp"/>
106       </Command.LargeImages>
107     </Command>
108     <Command Name="cmdNavigateNextDifference" LabelTitle="Next difference" Id="32779" Keytip="ND">
109       <Command.LargeImages>
110         <Image Source="ribbon/DownGreen.bmp"/>
111       </Command.LargeImages>
112     </Command>
113     <Command Name="cmdNavigatePreviousConflict" LabelTitle="Previous conflict" Id="32802" Keytip="PC">
114       <Command.LargeImages>
115         <Image Source="ribbon/UpRed.bmp"/>
116       </Command.LargeImages>
117     </Command>
118     <Command Name="cmdNavigateNextConflict" LabelTitle="Next conflict" Id="32804" Keytip="NC">
119       <Command.LargeImages>
120         <Image Source="ribbon/DownRed.bmp"/>
121       </Command.LargeImages>
122     </Command>
123     <Command Name="cmdNavigatePreviousInlineDiff" LabelTitle="Previous inline difference" Id="32876" Keytip="PI">
124       <Command.LargeImages>
125         <Image Source="ribbon/LeftGreenDots.bmp"/>
126       </Command.LargeImages>
127     </Command>
128     <Command Name="cmdNavigateNextInlineDiff" LabelTitle="Next inline difference" Id="32875" Keytip="NI">
129       <Command.LargeImages>
130         <Image Source="ribbon/RightGreenDots.bmp"/>
131       </Command.LargeImages>
132     </Command>
134     <Command Name="cmdUseLeftBlock" LabelTitle="Use left block" Id="32855" Keytip="">
135       <Command.LargeImages>
136         <Image Source="ribbon/UseLeftBlock.bmp" />
137       </Command.LargeImages>
138     </Command>
139     <Command Name="cmdUseLeftFile" LabelTitle="Use left file" Id="32856">
140       <Command.LargeImages>
141         <Image Source="ribbon/UseLeftFile.bmp" />
142       </Command.LargeImages>
143     </Command>
144     <Command Name="cmdUseBlockFromLeftBeforeRight" LabelTitle="Use block from left before right" Id="32857">
145       <Command.LargeImages>
146         <Image Source="ribbon/UseLeftRight.bmp" />
147       </Command.LargeImages>
148     </Command>
149     <Command Name="cmdUseBlockFromRightBeforeLeft" LabelTitle="Use block from right before left" Id="32859">
150       <Command.LargeImages>
151         <Image Source="ribbon/UseRightLeft.bmp" />
152       </Command.LargeImages>
153     </Command>
154     <Command Name="cmdUseTheirsBlock" LabelTitle="Use 'theirs' text block" Id="32819">
155       <Command.LargeImages>
156         <Image Source="ribbon/UseTheirs.bmp" />
157       </Command.LargeImages>
158     </Command>
159     <Command Name="cmdUseMineBlock" LabelTitle="Use 'mine' text block" Id="32820">
160       <Command.LargeImages>
161         <Image Source="ribbon/UseMine.bmp" />
162       </Command.LargeImages>
163     </Command>
164     <Command Name="cmdUseTheirsThenMineBlock" LabelTitle="Use 'theirs' text block then 'mine'" Id="32821">
165       <Command.LargeImages>
166         <Image Source="ribbon/UseTheirsMine.bmp" />
167       </Command.LargeImages>
168     </Command>
169     <Command Name="cmdUseMineThenTheirsBlock" LabelTitle="Use 'mine' text block then 'theirs'" Id="32822">
170       <Command.LargeImages>
171         <Image Source="ribbon/UseMineTheirs.bmp" />
172       </Command.LargeImages>
173     </Command>
174     <Command Name="cmdQat"/>
175     <Command Name="cmdFileMenu"/>
176     <Command Name="cmdExit" Id="0xE141">
177       <Command.LabelTitle>
178         <String Id ="290">E&amp;xit</String>
179       </Command.LabelTitle>
180       <Command.LargeImages>
181         <Image Source="ribbon/Exit.bmp" />
182       </Command.LargeImages>
183     </Command>
184     <Command Name="cmdHelp" Id="0xE146">
185     </Command>
186     <Command Name="cmdUseBlocks" Id="32914" />
187     <Command Name="cmdThreeWayActions" Id="33001"/>
188     <Command Name="cmdShowWhitespaces" LabelTitle="Show Whitespaces" Id="32774" Keytip="W">
189       <Command.LargeImages>
190         <Image Source="ribbon/Pilcrow.bmp" />
191       </Command.LargeImages>
192     </Command>
193     <Command Name="cmdCompareWhitespaces" LabelTitle="Compare whitespaces" Id="32871">
194       <Command.LargeImages>
195         <Image Source="ribbon/Whitespace1.bmp" />
196       </Command.LargeImages>
197     </Command>
198     <Command Name="cmdIgnoreWhitespaceChanges" LabelTitle="Ignore whitespace changes" Id="32872">
199       <Command.LargeImages>
200         <Image Source="ribbon/Whitespace2.bmp" />
201       </Command.LargeImages>
202     </Command>
203     <Command Name="cmdIgnoreAllWhitespaceChanges" LabelTitle="Ignore all whitespace changes" Id="32873">
204       <Command.LargeImages>
205         <Image Source="ribbon/Whitespace3.bmp" />
206       </Command.LargeImages>
207     </Command>
209     <Command Name="cmdViewBars" LabelTitle="View Bars" Id="32898">
210       <Command.LargeImages>
211         <Image Source="ribbon/ViewBars.bmp" />
212       </Command.LargeImages>
213     </Command>
215     <Command Name="cmdViewWrapLines" LabelTitle="Wrap Lines" Id="32881" Keytip="L">
216       <Command.LargeImages>
217         <Image Source="ribbon/WrapLines.bmp" />
218       </Command.LargeImages>
219     </Command>
221     <Command Name="cmdViewOneWayDiff" LabelTitle="Switch between single and double pane view" Id="32775">
222       <Command.LargeImages>
223         <Image Source="ribbon/OneWayDiff.bmp" />
224       </Command.LargeImages>
225     </Command>
227     <Command Name="cmdViewSwitchLeft" LabelTitle="Switch left and right view" Id="32811">
228       <Command.LargeImages>
229         <Image Source="ribbon/Switch.bmp" />
230       </Command.LargeImages>
231     </Command>
233     <Command Name="cmdViewInlineDiff" LabelTitle="Inline diff" Id="32889">
234       <Command.LargeImages>
235         <Image Source="ribbon/InlineDiff.bmp" />
236       </Command.LargeImages>
237     </Command>
239     <Command Name="cmdViewInlineDiffWord" LabelTitle="Inline diff word-wise" Id="32825">
240       <Command.LargeImages>
241         <Image Source="ribbon/InlineDiffWord.bmp" />
242       </Command.LargeImages>
243     </Command>
245     <Command Name="cmdRegexFilterConfig1" LabelTitle="Regex Filter" Id="500">
246       <Command.LargeImages>
247         <Image Source="ribbon/FilterConfig16.bmp" />
248       </Command.LargeImages>
249     </Command>
251     <Command Name="cmdRegexFilterConfig2" LabelTitle="Configure Filter Regex" Id="501">
252       <Command.LargeImages>
253         <Image Source="ribbon/FilterConfig16.bmp" />
254       </Command.LargeImages>
255     </Command>
257     <Command Name="cmdViewIgnoreComments" LabelTitle="Ignore Comments" Id="32896">
258       <Command.LargeImages>
259         <Image Source="ribbon/Comment.bmp" />
260       </Command.LargeImages>
261     </Command>
263     <Command Name="cmdViewCollapsed" LabelTitle="Collapse" Id="32870">
264       <Command.LargeImages>
265         <Image Source="ribbon/Collapse.bmp " />
266       </Command.LargeImages>
267     </Command>
269     <Command Name="cmdViewLineDiffBar" LabelTitle="Line diff bar" Id="32853">
270     </Command>
271     <Command Name="cmdViewLocatorBar" LabelTitle="Locator bar" Id="32854">
272     </Command>
273     <Command Name="cmdViewStatusBar" LabelTitle="Status Bar" Id="0xE801">
274     </Command>
275   </Application.Commands>
276   <Application.Views>
277     <Ribbon>
278       <Ribbon.ApplicationMenu>
279         <ApplicationMenu CommandName="cmdFileMenu">
280           <MenuGroup Class="MajorItems">
281             <Button CommandName="cmdOpen" />
282             <Button CommandName="cmdSave" />
283             <Button CommandName="cmdSaveAs" />
284           </MenuGroup>
285           <MenuGroup Class="MajorItems">
286             <Button CommandName="cmdCreateUnifiedDiff" />
287           </MenuGroup>
288           <MenuGroup Class="MajorItems">
289             <Button CommandName="cmdShowFileList" />
290             <Button CommandName="cmdSettings" />
291           </MenuGroup>
292           <MenuGroup Class="MajorItems">
293             <Button CommandName="cmdAbout" />
294           </MenuGroup>
295           <MenuGroup Class="StandardItems">
296             <Button CommandName="cmdExit" />
297           </MenuGroup>
298         </ApplicationMenu>
299       </Ribbon.ApplicationMenu>
300       <Ribbon.HelpButton>
301         <HelpButton CommandName="cmdHelp"/>
302       </Ribbon.HelpButton>
303       <Ribbon.Tabs>
304         <Tab CommandName="cmdTabEdit">
305           <Tab.ScalingPolicy>
306             <ScalingPolicy>
307               <ScalingPolicy.IdealSizes>
308                 <!-- This describes the maximum size of each group in the tab. -->
309                 <Scale Group="cmdGroupEdit" Size="Large" />
310                 <Scale Group="cmdGroupNavigate" Size="Large" />
311                 <Scale Group="cmdGroupWhitespaces" Size="Medium" />
312                 <Scale Group="cmdGroupDiff" Size="Large" />
313                 <Scale Group="cmdGroupView" Size="Large" />
314               </ScalingPolicy.IdealSizes>
315               <!-- This describes the order and how the groups shrink when the window is resized. -->
316               <Scale Group="cmdGroupNavigate" Size="Medium" />
317               <Scale Group="cmdGroupView" Size="Small" />
318               <Scale Group="cmdGroupDiff" Size="Small" />
319               <Scale Group="cmdGroupEdit" Size="Medium" />
320               <Scale Group="cmdGroupWhitespaces" Size="Small" />
321             </ScalingPolicy>
322           </Tab.ScalingPolicy>
323           <Group CommandName="cmdGroupEdit">
324             <SizeDefinition >
325               <GroupSizeDefinition Size="Large">
326                 <ControlSizeDefinition ImageSize="Large"/>
327                 <ColumnBreak ShowSeparator="true"/>
328                 <ControlSizeDefinition ImageSize="Large" />
329                 <Row>
330                   <ControlSizeDefinition ImageSize="Small" />
331                 </Row>
332                 <Row>
333                   <ControlSizeDefinition ImageSize="Small" />
334                 </Row>
335                 <Row>
336                   <ControlSizeDefinition ImageSize="Small" />
337                 </Row>
338                 <ColumnBreak ShowSeparator="true"/>
339                 <ControlSizeDefinition ImageSize="Large" />
340                 <ControlSizeDefinition ImageSize="Large" />
341                 <ColumnBreak ShowSeparator="true"/>
342                 <ControlSizeDefinition ImageSize="Large" />
343                 <ControlSizeDefinition ImageSize="Large" />
344                 <ColumnBreak ShowSeparator="true"/>
345                 <ControlSizeDefinition ImageSize="Large" />
346               </GroupSizeDefinition>
347               <GroupSizeDefinition Size="Medium">
348                 <ControlSizeDefinition ImageSize="Large"/>
349                 <ColumnBreak ShowSeparator="true"/>
350                 <ControlSizeDefinition ImageSize="Large" />
351                 <Row>
352                   <ControlSizeDefinition ImageSize="Small" />
353                 </Row>
354                 <Row>
355                   <ControlSizeDefinition ImageSize="Small" />
356                 </Row>
357                 <Row>
358                   <ControlSizeDefinition ImageSize="Small" />
359                 </Row>
360                 <ColumnBreak ShowSeparator="true"/>
361                 <Row>
362                   <ControlSizeDefinition ImageSize="Small" />
363                 </Row>
364                 <Row>
365                   <ControlSizeDefinition ImageSize="Small" />
366                 </Row>
367                 <ColumnBreak ShowSeparator="true"/>
368                 <Row>
369                   <ControlSizeDefinition ImageSize="Small" />
370                 </Row>
371                 <Row>
372                   <ControlSizeDefinition ImageSize="Small" />
373                 </Row>
374                 <ColumnBreak ShowSeparator="true"/>
375                 <ControlSizeDefinition ImageSize="Large" />
376               </GroupSizeDefinition>
377               <GroupSizeDefinition Size="Small">
378                 <ControlSizeDefinition ImageSize="Large"/>
379                 <ColumnBreak ShowSeparator="true"/>
380                 <ControlSizeDefinition ImageSize="Large" />
381                 <Row>
382                   <ControlSizeDefinition ImageSize="Small" />
383                 </Row>
384                 <Row>
385                   <ControlSizeDefinition ImageSize="Small" />
386                 </Row>
387                 <Row>
388                   <ControlSizeDefinition ImageSize="Small" />
389                 </Row>
390                 <ColumnBreak ShowSeparator="true"/>
391                 <Row>
392                   <ControlSizeDefinition ImageSize="Small" />
393                 </Row>
394                 <Row>
395                   <ControlSizeDefinition ImageSize="Small" />
396                 </Row>
397                 <ColumnBreak ShowSeparator="true"/>
398                 <Row>
399                   <ControlSizeDefinition ImageSize="Small" />
400                 </Row>
401                 <Row>
402                   <ControlSizeDefinition ImageSize="Small" />
403                 </Row>
404                 <ColumnBreak ShowSeparator="true"/>
405                 <ControlSizeDefinition ImageSize="Large" />
406               </GroupSizeDefinition>
407             </SizeDefinition>
408             <Button CommandName="cmdSave" />
409             <Button CommandName="cmdReload" />
410             <Button CommandName="cmdUndo" />
411             <Button CommandName="cmdRedo" />
412             <ToggleButton CommandName="cmdEditEnabled" />
413             <Button CommandName="cmdCopy" />
414             <Button CommandName="cmdPaste" />
415             <Button CommandName="cmdFind" />
416             <Button CommandName="cmdGotoLine" />
417             <Button CommandName="cmdMarkResolved" />
418           </Group>
420           <Group CommandName="cmdGroupNavigate" SizeDefinition="SixButtons-TwoColumns">
421             <Button CommandName="cmdNavigatePreviousDifference" />
422             <Button CommandName="cmdNavigateNextDifference" />
423             <Button CommandName="cmdNavigatePreviousConflict" />
424             <Button CommandName="cmdNavigateNextConflict" />
425             <Button CommandName="cmdNavigatePreviousInlineDiff" />
426             <Button CommandName="cmdNavigateNextInlineDiff" />
427           </Group>
428           <Group CommandName="cmdGroupBlocks" SizeDefinition="TwoButtons">
429             <SplitButton CommandName="cmdUseBlocks">
430               <SplitButton.ButtonItem>
431                 <Button CommandName="cmdUseLeftBlock"/>
432               </SplitButton.ButtonItem>
433               <Button CommandName="cmdUseLeftFile"/>
434               <Button CommandName="cmdUseBlockFromLeftBeforeRight"/>
435               <Button CommandName="cmdUseBlockFromRightBeforeLeft"/>
436             </SplitButton>
437             <SplitButton CommandName="cmdThreeWayActions">
438               <SplitButton.ButtonItem>
439                 <Button CommandName="cmdUseTheirsBlock"/>
440               </SplitButton.ButtonItem>
441               <Button CommandName="cmdUseMineBlock"/>
442               <Button CommandName="cmdUseTheirsThenMineBlock"/>
443               <Button CommandName="cmdUseMineThenTheirsBlock"/>
444             </SplitButton>
445           </Group>
446           <Group CommandName="cmdGroupWhitespaces" SizeDefinition="FourButtons">
447             <ToggleButton CommandName="cmdShowWhitespaces" />
448             <ToggleButton CommandName="cmdCompareWhitespaces" />
449             <ToggleButton CommandName="cmdIgnoreWhitespaceChanges" />
450             <ToggleButton CommandName="cmdIgnoreAllWhitespaceChanges" />
451           </Group>
453           <Group CommandName="cmdGroupDiff" SizeDefinition="FourButtons">
454             <ToggleButton CommandName="cmdViewInlineDiff" />
455             <ToggleButton CommandName="cmdViewInlineDiffWord" />
456             <SplitButtonGallery CommandName="cmdRegexFilterConfig1" Type="Items">
457               <SplitButtonGallery.MenuLayout>
458                 <VerticalMenuLayout Gripper="None"/>
459               </SplitButtonGallery.MenuLayout>
460             </SplitButtonGallery>
461             <ToggleButton CommandName="cmdViewIgnoreComments" />
462           </Group>
464           <Group CommandName="cmdGroupView" SizeDefinition="FiveButtons">
465             <DropDownButton CommandName="cmdViewBars">
466               <CheckBox CommandName="cmdViewLineDiffBar"/>
467               <CheckBox CommandName="cmdViewLocatorBar"/>
468               <CheckBox CommandName="cmdViewStatusBar"/>
469             </DropDownButton>
470             <ToggleButton CommandName="cmdViewWrapLines" />
471             <ToggleButton CommandName="cmdViewOneWayDiff" />
472             <Button CommandName="cmdViewSwitchLeft" />
473             <ToggleButton CommandName="cmdViewCollapsed" />
474           </Group>
475         </Tab>
476       </Ribbon.Tabs>
477       <Ribbon.QuickAccessToolbar>
478         <QuickAccessToolbar CommandName="cmdQat">
479           <QuickAccessToolbar.ApplicationDefaults>
480             <Button CommandName="cmdSave" ApplicationDefaults.IsChecked="false" />
481             <Button CommandName="cmdUndo" ApplicationDefaults.IsChecked="false" />
482             <Button CommandName="cmdRedo" ApplicationDefaults.IsChecked="false" />
483           </QuickAccessToolbar.ApplicationDefaults>
484         </QuickAccessToolbar>
485       </Ribbon.QuickAccessToolbar>
486     </Ribbon>
487   </Application.Views>
488 </Application>