@@ -210,6 +210,10 @@ class MonacoCreator {
const monacoCreator = this;
this.diffEditor.addCommand(monaco.KeyCode.Escape, function() { main.toggleDiffEditor(monacoCreator, menuPG); });
+ // Adding default VSCode bindinds for previous/next difference
+ this.diffEditor.addCommand(monaco.KeyMod.Alt | monaco.KeyCode.F5, function() { main.navigateToNext(); });
+ this.diffEditor.addCommand(monaco.KeyMod.Shift | monaco.KeyMod.Alt | monaco.KeyCode.F5, function() { main.navigateToPrevious(); });
+
this.diffEditor.focus();
}
@@ -83,6 +83,7 @@
- Added support for clickable errors in the playground ([sailro](http://www.github.com/sailro))
- Added a color picker and previewer for BABYLON.ColorX invocations in the playground ([sailro](http://www.github.com/sailro))
- Added support for diffing snippets in the playground ([sailro](http://www.github.com/sailro))
+- Added diff navigator in the playground ([sailro](http://www.github.com/sailro))
### Meshes