|
50 | 50 | </DataTemplate> |
51 | 51 | </mah:MetroWindow.Resources> |
52 | 52 | <mah:MetroWindow.InputBindings> |
53 | | - <!-- Ctrl + S : Save snippet code --> |
54 | | - <KeyBinding Key="S" Modifiers="Ctrl" Command="{Binding SaveCodeCommand}"/> |
55 | | - <!-- Ctrl + A : Add new snippet --> |
56 | | - <KeyBinding Key="A" Modifiers="Ctrl" Command="{Binding AddSnippetCommand}"/> |
57 | | - <!-- Ctrl + E : Edit current cnippet metadata --> |
58 | | - <KeyBinding Key="E" Modifiers="Ctrl" Command="{Binding EditSnippetCommand}"/> |
59 | | - <!-- Ctrl + D : Delete current snippet --> |
60 | | - <KeyBinding Key="D" Modifiers="Ctrl" Command="{Binding DeleteSnippetCommand}"/> |
61 | | - <!-- Ctrl + L : Open Language/Category management --> |
62 | | - <KeyBinding Key="L" Modifiers="Ctrl" Command="{Binding OpenLanguageCategoryCommand}"/> |
63 | | - <!-- Ctrl + P : Open application settings --> |
64 | | - <KeyBinding Key="P" Modifiers="Ctrl" Command="{Binding OpenSettingsCommand}"/> |
65 | | - <!-- Ctrl + R : Open Code Runner window --> |
66 | | - <KeyBinding Key="R" Modifiers="Ctrl" Command="{Binding OpenCodeRunnerViewCommand}"/> |
| 53 | + <!-- Ctrl+Shift + S : Save snippet code --> |
| 54 | + <KeyBinding Key="S" Modifiers="Ctrl+Shift" Command="{Binding SaveCodeCommand}"/> |
| 55 | + <!-- Ctrl+Shift + A : Add new snippet --> |
| 56 | + <KeyBinding Key="A" Modifiers="Ctrl+Shift" Command="{Binding AddSnippetCommand}"/> |
| 57 | + <!-- Ctrl+Shift + E : Edit current cnippet metadata --> |
| 58 | + <KeyBinding Key="E" Modifiers="Ctrl+Shift" Command="{Binding EditSnippetCommand}"/> |
| 59 | + <!-- Ctrl+Shift + D : Delete current snippet --> |
| 60 | + <KeyBinding Key="D" Modifiers="Ctrl+Shift" Command="{Binding DeleteSnippetCommand}"/> |
| 61 | + <!-- Ctrl+Shift + L : Open Language/Category management --> |
| 62 | + <KeyBinding Key="L" Modifiers="Ctrl+Shift" Command="{Binding OpenLanguageCategoryCommand}"/> |
| 63 | + <!-- Ctrl+Shift + P : Open application settings --> |
| 64 | + <KeyBinding Key="P" Modifiers="Ctrl+Shift" Command="{Binding OpenSettingsCommand}"/> |
| 65 | + <!-- Ctrl+Shift + R : Open Code Runner window --> |
| 66 | + <KeyBinding Key="R" Modifiers="Ctrl+Shift" Command="{Binding OpenCodeRunnerViewCommand}"/> |
67 | 67 | <!-- Ctrl + K : Toggle Single-Line Comment --> |
68 | 68 | <KeyBinding Key="K" Modifiers="Ctrl" |
69 | 69 | Command="{Binding RelativeSource={RelativeSource AncestorType=Window}, Path=ToggleSingleLineCommentCommand}" /> |
|
220 | 220 | <Path Data="{Binding OpenCloseIcon}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
221 | 221 | Width="20" Height="20" Stretch="Uniform" /> |
222 | 222 | </Button> |
223 | | - <Button Command="{Binding SaveCodeCommand}" Margin="10,0,0,0" ToolTip="Save snippet
CTRL+S"> |
| 223 | + <Button Command="{Binding SaveCodeCommand}" Margin="10,0,0,0" ToolTip="Save snippet
Ctrl+Shift+S"> |
224 | 224 | <Path Data="{StaticResource Save}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
225 | 225 | Width="20" Height="20" Stretch="Uniform" /> |
226 | 226 | </Button> |
227 | | - <Button Command="{Binding AddSnippetCommand}" Margin="5,0,0,0" ToolTip="Add snippet
CTRL+A"> |
| 227 | + <Button Command="{Binding AddSnippetCommand}" Margin="5,0,0,0" ToolTip="Add snippet
Ctrl+Shift+A"> |
228 | 228 | <Path Data="{StaticResource FileAdd}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
229 | 229 | Width="20" Height="20" Stretch="Uniform" /> |
230 | 230 | </Button> |
231 | | - <Button Command="{Binding EditSnippetCommand}" Margin="5,0,0,0" ToolTip="Edit snippet
CTRL+E"> |
| 231 | + <Button Command="{Binding EditSnippetCommand}" Margin="5,0,0,0" ToolTip="Edit snippet
Ctrl+Shift+E"> |
232 | 232 | <Path Data="{StaticResource FileEdit}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
233 | 233 | Width="20" Height="20" Stretch="Uniform" /> |
234 | 234 | </Button> |
235 | | - <Button Command="{Binding DeleteSnippetCommand}" Margin="5,0,0,0" ToolTip="Delete snippet
CTRL+D"> |
| 235 | + <Button Command="{Binding DeleteSnippetCommand}" Margin="5,0,0,0" ToolTip="Delete snippet
Ctrl+Shift+D"> |
236 | 236 | <Path Data="{StaticResource Trash}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
237 | 237 | Width="20" Height="20" Stretch="Uniform" /> |
238 | 238 | </Button> |
239 | 239 | <Button x:Name="btnLangCat" Margin="5,0,0,0" Command="{Binding OpenLanguageCategoryCommand}" |
240 | | - ToolTip="Language/Category edit
CTRL+L" |
| 240 | + ToolTip="Language/Category edit
Ctrl+Shift+L" |
241 | 241 | IsEnabled="{Binding IsLoadSnippetEnabled, Converter={StaticResource InverseBooleanConverter}}" > |
242 | 242 | <Path Data="{StaticResource CategoryEdit}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
243 | 243 | Width="20" Height="20" Stretch="Uniform" /> |
|
248 | 248 | Width="20" Height="20" Stretch="Uniform" /> |
249 | 249 | </Button> |
250 | 250 | <Separator /> |
251 | | - <Button Margin="5,0,0,0" ToolTip="Run
CTRL+R" |
| 251 | + <Button Margin="5,0,0,0" ToolTip="Run
Ctrl+Shift+R" |
252 | 252 | Command="{Binding OpenCodeRunnerViewCommand}" > |
253 | 253 | <Path Data="{StaticResource DebugStart}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
254 | 254 | Width="20" Height="20" Stretch="Uniform" /> |
|
271 | 271 | <Path Data="{StaticResource ZoomOutMap}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
272 | 272 | Width="20" Height="20" Stretch="Uniform" /> |
273 | 273 | </Button> |
274 | | - <Button Margin="5,0,0,0" ToolTip="Search / Replace" Command="{Binding SearchReplaceCommand}" > |
| 274 | + <Button Margin="5,0,0,0" ToolTip="Search-Replace
Ctrl+F" Command="{Binding SearchReplaceCommand}" > |
275 | 275 | <Path Data="{StaticResource TextSearch}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
276 | 276 | Width="20" Height="20" Stretch="Uniform" /> |
277 | 277 | </Button> |
|
284 | 284 | <Path Data="{StaticResource ColorPaletteiOS}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
285 | 285 | Width="20" Height="20" Stretch="Uniform" /> |
286 | 286 | </Button> |
287 | | - <Button Margin="5,0,0,0" ToolTip="Settings
CTRL+P" Command="{Binding OpenSettingsCommand}"> |
| 287 | + <Button Margin="5,0,0,0" ToolTip="Settings
Ctrl+Shift+P" Command="{Binding OpenSettingsCommand}"> |
288 | 288 | <Path Data="{StaticResource GearBold}" Fill="{DynamicResource MahApps.Brushes.AccentBase}" |
289 | 289 | Width="20" Height="20" Stretch="Uniform" /> |
290 | 290 | </Button> |
|
0 commit comments