|
49 | 49 | <converters:BoolToIMEStateConverter x:Key="BoolToIMEStateConverter" /> |
50 | 50 | <converters:StringToKeyBindingConverter x:Key="StringToKeyBindingConverter" /> |
51 | 51 | </Window.Resources> |
52 | | - <Window.InputBindings> |
53 | | - <KeyBinding Key="Escape" Command="{Binding EscCommand}" /> |
54 | | - <KeyBinding Key="F5" Command="{Binding ReloadPluginDataCommand}" /> |
55 | | - <KeyBinding |
56 | | - Key="Home" |
57 | | - Command="{Binding SelectFirstResultCommand}" |
58 | | - Modifiers="Alt" /> |
59 | | - <KeyBinding |
60 | | - Key="End" |
61 | | - Command="{Binding SelectLastResultCommand}" |
62 | | - Modifiers="Alt" /> |
63 | | - <KeyBinding |
64 | | - Key="R" |
65 | | - Command="{Binding ReQueryCommand}" |
66 | | - Modifiers="Ctrl" /> |
67 | | - <KeyBinding |
68 | | - Key="OemCloseBrackets" |
69 | | - Command="{Binding IncreaseWidthCommand}" |
70 | | - Modifiers="Control" /> |
71 | | - <KeyBinding |
72 | | - Key="OemOpenBrackets" |
73 | | - Command="{Binding DecreaseWidthCommand}" |
74 | | - Modifiers="Control" /> |
75 | | - <KeyBinding |
76 | | - Key="OemPlus" |
77 | | - Command="{Binding IncreaseMaxResultCommand}" |
78 | | - Modifiers="Control" /> |
79 | | - <KeyBinding |
80 | | - Key="OemMinus" |
81 | | - Command="{Binding DecreaseMaxResultCommand}" |
82 | | - Modifiers="Control" /> |
83 | | - <KeyBinding |
84 | | - Key="Enter" |
85 | | - Command="{Binding OpenResultCommand}" |
86 | | - Modifiers="Ctrl+Shift" /> |
87 | | - <KeyBinding |
88 | | - Key="Enter" |
89 | | - Command="{Binding LoadContextMenuCommand}" |
90 | | - Modifiers="Shift" /> |
91 | | - <KeyBinding Key="Enter" Command="{Binding OpenResultCommand}" /> |
92 | | - <KeyBinding |
93 | | - Key="Enter" |
94 | | - Command="{Binding OpenResultCommand}" |
95 | | - Modifiers="Ctrl" /> |
96 | | - <KeyBinding |
97 | | - Key="Enter" |
98 | | - Command="{Binding OpenResultCommand}" |
99 | | - Modifiers="Alt" /> |
100 | | - <KeyBinding |
101 | | - Key="D1" |
102 | | - Command="{Binding OpenResultCommand}" |
103 | | - CommandParameter="0" |
104 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
105 | | - <KeyBinding |
106 | | - Key="D2" |
107 | | - Command="{Binding OpenResultCommand}" |
108 | | - CommandParameter="1" |
109 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
110 | | - <KeyBinding |
111 | | - Key="D3" |
112 | | - Command="{Binding OpenResultCommand}" |
113 | | - CommandParameter="2" |
114 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
115 | | - <KeyBinding |
116 | | - Key="D4" |
117 | | - Command="{Binding OpenResultCommand}" |
118 | | - CommandParameter="3" |
119 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
120 | | - <KeyBinding |
121 | | - Key="D5" |
122 | | - Command="{Binding OpenResultCommand}" |
123 | | - CommandParameter="4" |
124 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
125 | | - <KeyBinding |
126 | | - Key="D6" |
127 | | - Command="{Binding OpenResultCommand}" |
128 | | - CommandParameter="5" |
129 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
130 | | - <KeyBinding |
131 | | - Key="D7" |
132 | | - Command="{Binding OpenResultCommand}" |
133 | | - CommandParameter="6" |
134 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
135 | | - <KeyBinding |
136 | | - Key="D8" |
137 | | - Command="{Binding OpenResultCommand}" |
138 | | - CommandParameter="7" |
139 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
140 | | - <KeyBinding |
141 | | - Key="D9" |
142 | | - Command="{Binding OpenResultCommand}" |
143 | | - CommandParameter="8" |
144 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
145 | | - <KeyBinding |
146 | | - Key="D0" |
147 | | - Command="{Binding OpenResultCommand}" |
148 | | - CommandParameter="9" |
149 | | - Modifiers="{Binding OpenResultCommandModifiers}" /> |
150 | | - <KeyBinding |
151 | | - Key="F12" |
152 | | - Command="{Binding ToggleGameModeCommand}" |
153 | | - Modifiers="Ctrl" /> |
154 | | - <KeyBinding |
155 | | - Key="C" |
156 | | - Command="{Binding CopyAlternativeCommand}" |
157 | | - Modifiers="Ctrl+Shift" /> |
158 | | - <KeyBinding |
159 | | - Key="{Binding PreviewHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
160 | | - Command="{Binding TogglePreviewCommand}" |
161 | | - Modifiers="{Binding PreviewHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
162 | | - <KeyBinding |
163 | | - Key="{Binding AutoCompleteHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
164 | | - Command="{Binding AutocompleteQueryCommand}" |
165 | | - Modifiers="{Binding AutoCompleteHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
166 | | - <KeyBinding |
167 | | - Key="{Binding AutoCompleteHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
168 | | - Command="{Binding AutocompleteQueryCommand}" |
169 | | - Modifiers="{Binding AutoCompleteHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
170 | | - <KeyBinding |
171 | | - Key="{Binding SelectNextItemHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
172 | | - Command="{Binding SelectNextItemCommand}" |
173 | | - Modifiers="{Binding SelectNextItemHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
174 | | - <KeyBinding |
175 | | - Key="{Binding SelectPrevItemHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
176 | | - Command="{Binding SelectPrevItemCommand}" |
177 | | - Modifiers="{Binding SelectPrevItemHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
178 | | - <KeyBinding |
179 | | - Key="{Binding SelectNextItemHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
180 | | - Command="{Binding SelectNextItemCommand}" |
181 | | - Modifiers="{Binding SelectNextItemHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
182 | | - <KeyBinding |
183 | | - Key="{Binding SelectPrevItemHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
184 | | - Command="{Binding SelectPrevItemCommand}" |
185 | | - Modifiers="{Binding SelectPrevItemHotkey2, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
186 | | - <KeyBinding |
187 | | - Key="{Binding SettingWindowHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
188 | | - Command="{Binding OpenSettingCommand}" |
189 | | - Modifiers="{Binding SettingWindowHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
190 | | - <KeyBinding |
191 | | - Key="{Binding OpenHistoryHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
192 | | - Command="{Binding LoadHistoryCommand}" |
193 | | - Modifiers="{Binding OpenHistoryHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
194 | | - <KeyBinding |
195 | | - Key="{Binding OpenContextMenuHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
196 | | - Command="{Binding LoadContextMenuCommand}" |
197 | | - Modifiers="{Binding OpenContextMenuHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
198 | | - <KeyBinding |
199 | | - Key="{Binding SelectNextPageHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
200 | | - Command="{Binding SelectNextPageCommand}" |
201 | | - Modifiers="{Binding SelectNextPageHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
202 | | - <KeyBinding |
203 | | - Key="{Binding SelectPrevPageHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
204 | | - Command="{Binding SelectPrevPageCommand}" |
205 | | - Modifiers="{Binding SelectPrevPageHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
206 | | - <KeyBinding |
207 | | - Key="{Binding CycleHistoryUpHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
208 | | - Command="{Binding ReverseHistoryCommand}" |
209 | | - Modifiers="{Binding CycleHistoryUpHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
210 | | - <KeyBinding |
211 | | - Key="{Binding CycleHistoryDownHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='key'}" |
212 | | - Command="{Binding ForwardHistoryCommand}" |
213 | | - Modifiers="{Binding CycleHistoryDownHotkey, Converter={StaticResource StringToKeyBindingConverter}, ConverterParameter='modifiers'}" /> |
214 | | - </Window.InputBindings> |
215 | 52 |
|
216 | 53 | <Border MouseDown="OnMouseDown" Style="{DynamicResource WindowBorderStyle}"> |
217 | 54 | <StackPanel Orientation="Vertical"> |
|
0 commit comments