~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/SearchAndReplace/Project/SearchAndReplace.addin

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<AddIn name        = "Search &amp; Replace"
 
2
       description = "Implements the Search &amp; Replace feature for the text editor"
 
3
       addInManagerHidden = "preinstalled">
 
4
        
 
5
        <Manifest>
 
6
                <Identity name="ICSharpCode.SearchAndReplace"/>
 
7
                <Dependency addin="SharpDevelop"/>
 
8
        </Manifest>
 
9
        
 
10
        <Runtime>
 
11
                <Import assembly = "SearchAndReplace.dll"/>
 
12
        </Runtime>
 
13
        
 
14
        <Path name = "/SharpDevelop/Workbench/MainMenu/Search">
 
15
                <MenuItem id = "Find"
 
16
                          label = "${res:XML.MainMenu.SearchMenu.Find}"
 
17
                          icon = "Icons.16x16.FindIcon"
 
18
                          shortcut = "Control|F"
 
19
                          class = "SearchAndReplace.Find"/>
 
20
                <MenuItem id = "FindNext"
 
21
                          insertafter = "Find"
 
22
                          label = "${res:XML.MainMenu.SearchMenu.FindNext}"
 
23
                          icon = "Icons.16x16.FindNextIcon"
 
24
                          shortcut = "F3"
 
25
                          class = "SearchAndReplace.FindNext"/>
 
26
                <MenuItem id = "FindNextSelected"
 
27
                          insertafter = "FindNext"
 
28
                          label = "${res:XML.MainMenu.SearchMenu.FindNextSelected}"
 
29
                          shortcut = "Control|F3"
 
30
                          class = "SearchAndReplace.FindNextSelected"/>
 
31
                <MenuItem id = "Replace"
 
32
                          insertbefore = "SearchIncremental"
 
33
                          insertafter = "FindNextSelected"
 
34
                          label = "${res:XML.MainMenu.SearchMenu.Replace}"
 
35
                          icon = "Icons.16x16.ReplaceIcon"
 
36
                          shortcut = "Control|H"
 
37
                          class = "SearchAndReplace.Replace"/>
 
38
        </Path>
 
39
        
 
40
        <Path name = "/SharpDevelop/DefaultEditor/SearchAndReplace/WildcardHelpPath">
 
41
                <MenuItem id    = "*Char"
 
42
                          label = "* Zero or more of any character" />
 
43
                <MenuItem id    = "?Char"
 
44
                          label = "? Any single character" />
 
45
                <MenuItem id    = "#Char"
 
46
                          label = "# Any single digit" />
 
47
                <MenuItem id    = "[]Char"
 
48
                          label = "[] Any one character in the set" />
 
49
                <MenuItem id    = "[!]Char"
 
50
                          label = "[!] Any one character not in the set" />
 
51
        </Path>
 
52
        
 
53
        <Path name = "/SharpDevelop/Workbench/ToolBar/Standard">
 
54
                <ToolbarItem id = "FindSeparator" type = "Separator" />
 
55
                <ToolbarItem id      = "Find"
 
56
                             icon    = "Icons.16x16.FindIcon"
 
57
                             tooltip = "${res:MainWindow.Windows.ClassBrowser.CommitSearch.ToolTip}"
 
58
                             class   = "SearchAndReplace.Find"/>
 
59
                
 
60
                <ToolbarItem id      = "FindComboBox"
 
61
                             type    = "ComboBox"
 
62
                             tooltip = "${res:MainWindow.Windows.ClassBrowser.CommitSearch.ToolTip}"
 
63
                             class   = "SearchAndReplace.FindComboBox"/>
 
64
        </Path>
 
65
        
 
66
        <!-- File extensions that should not be searched since they are not opened
 
67
         in a text editor -->
 
68
        <Path name="/AddIns/DefaultTextEditor/Search/ExcludedFileExtensions">
 
69
                <String text=".resx"/>
 
70
                <String text=".resources"/>
 
71
                <String text=".exe"/>
 
72
                <String text=".dll"/>
 
73
                <String text=".pdb"/>
 
74
        </Path>
 
75
        
 
76
        <Path name="/SharpDevelop/Pads/SearchResultPad/Factories">
 
77
                <Class id="DefaultSearchResultFactory" class="SearchAndReplace.DefaultSearchResultFactory"/>
 
78
        </Path>
 
79
</AddIn>