Author: sdzmitrovich
Date: 2008-09-24 07:55:52 -0400 (Wed, 24 Sep 2008)
New Revision: 10444
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
transfer some code because was broken hot keys handling
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-09-24
09:01:53 UTC (rev 10443)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2008-09-24
11:55:52 UTC (rev 10444)
@@ -1306,6 +1306,10 @@
*/
if (!keyBindingPressed) {
if (keyEventHandler.handleKeyPress(keyEvent)) {
+ /*
+ * JBIDE-2670
+ */
+ keyEvent.stopPropagation();
switcher
.startActiveEditor(ActiveEditorSwitcher.ACTIVE_EDITOR_VISUAL);
try {
@@ -1320,10 +1324,6 @@
}
}
- /*
- * JBIDE-2670
- */
- keyEvent.stopPropagation();
}
public void elementResized(nsIDOMElement element, int resizerConstrains,