Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Zadrozny2017-11-16 15:23:06 +0000
committerFabio Zadrozny2017-11-16 15:23:06 +0000
commit9d5ca4e8bd6b283e30b8ca7a9d2da696e0852171 (patch)
tree5520c260cf5aeced1f513dcd686d4a11c079c2f2
parent8c23ac44c21f966c22991c04f81463ec85006ce1 (diff)
downloadorg.eclipse.e4.ui-9d5ca4e8bd6b283e30b8ca7a9d2da696e0852171.tar.gz
org.eclipse.e4.ui-9d5ca4e8bd6b283e30b8ca7a9d2da696e0852171.tar.xz
org.eclipse.e4.ui-9d5ca4e8bd6b283e30b8ca7a9d2da696e0852171.zip
Bug 8519 - keystroke macros recording and playing capability
SWTEvent was not being properly passed along when adding a macro instruction from a command. Change-Id: I09033a36261315cd1cd3fca1e347cec30ed25555
-rw-r--r--bundles/org.eclipse.e4.ui.macros/src/org/eclipse/e4/ui/macros/internal/keybindings/CommandManagerExecutionListener.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.ui.macros/src/org/eclipse/e4/ui/macros/internal/keybindings/CommandManagerExecutionListener.java b/bundles/org.eclipse.e4.ui.macros/src/org/eclipse/e4/ui/macros/internal/keybindings/CommandManagerExecutionListener.java
index 9129de0f..8442a50e 100644
--- a/bundles/org.eclipse.e4.ui.macros/src/org/eclipse/e4/ui/macros/internal/keybindings/CommandManagerExecutionListener.java
+++ b/bundles/org.eclipse.e4.ui.macros/src/org/eclipse/e4/ui/macros/internal/keybindings/CommandManagerExecutionListener.java
@@ -119,7 +119,8 @@ public class CommandManagerExecutionListener implements IExecutionListener {
// Only record commands executed in the initial editor.
if (fFilter.acceptEvent(swtEvent)) {
fMacroService.addMacroInstruction(new MacroInstructionForParameterizedCommand(
- commandAndTrigger.parameterizedCommand, swtEvent, this.fHandlerService));
+ commandAndTrigger.parameterizedCommand, swtEvent, this.fHandlerService), swtEvent,
+ EMacroService.PRIORITY_HIGH);
}
} else {
fMacroService.addMacroInstruction(new MacroInstructionForParameterizedCommand(

Back to the top