| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent fab52a4 commit c6de8e8
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1178,11 +1178,11 @@ public void handleStep(int modifiers) { | |||
| 1178 | 1178 | Logger.getLogger(getClass().getName()).log(Level.INFO, "Invoked 'Step Over' menu item"); | |
| 1179 | 1179 | debugger.stepOver(); | |
| 1180 | 1180 | ||
| 1181 | - } else if ((modifiers & KeyEvent.SHIFT_DOWN_MASK) != 0) { | ||
| 1181 | + } else if ((modifiers & ActionEvent.SHIFT_MASK) != 0) { | ||
| 1182 | 1182 | Logger.getLogger(getClass().getName()).log(Level.INFO, "Invoked 'Step Into' menu item"); | |
| 1183 | 1183 | debugger.stepInto(); | |
| 1184 | 1184 | ||
| 1185 | - } else if ((modifiers & KeyEvent.ALT_DOWN_MASK) != 0) { | ||
| 1185 | + } else if ((modifiers & ActionEvent.ALT_MASK) != 0) { | ||
| 1186 | 1186 | Logger.getLogger(getClass().getName()).log(Level.INFO, "Invoked 'Step Out' menu item"); | |
| 1187 | 1187 | debugger.stepOut(); | |
| 1188 | 1188 | } | |
@@ -1494,7 +1494,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 1494 | 1494 | item = Toolkit.newJMenuItemShift(Language.text("menu.debug.step_into"), KeyEvent.VK_J); | |
| 1495 | 1495 | item.addActionListener(new ActionListener() { | |
| 1496 | 1496 | public void actionPerformed(ActionEvent e) { | |
| 1497 | - handleStep(KeyEvent.SHIFT_DOWN_MASK); | ||
| 1497 | + handleStep(ActionEvent.SHIFT_MASK); | ||
| 1498 | 1498 | } | |
| 1499 | 1499 | }); | |
| 1500 | 1500 | debugMenu.add(item); | |
@@ -1503,7 +1503,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 1503 | 1503 | item = Toolkit.newJMenuItemAlt(Language.text("menu.debug.step_out"), KeyEvent.VK_J); | |
| 1504 | 1504 | item.addActionListener(new ActionListener() { | |
| 1505 | 1505 | public void actionPerformed(ActionEvent e) { | |
| 1506 | - handleStep(KeyEvent.ALT_DOWN_MASK); | ||
| 1506 | + handleStep(ActionEvent.ALT_MASK); | ||
| 1507 | 1507 | } | |
| 1508 | 1508 | }); | |
| 1509 | 1509 | debugMenu.add(item); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,7 +79,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 79 | 79 | Language.text("menu.debug.step_out")) { | |
| 80 | 80 | @Override | |
| 81 | 81 | public void actionPerformed(ActionEvent e) { | |
| 82 | - final int mask = KeyEvent.SHIFT_DOWN_MASK | KeyEvent.ALT_DOWN_MASK; | ||
| 82 | + final int mask = ActionEvent.SHIFT_MASK | ActionEvent.ALT_MASK; | ||
| 83 | 83 | jeditor.handleStep(e.getModifiers() & mask); | |
| 84 | 84 | } | |
| 85 | 85 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments