Author: mareshkau
Date: 2010-05-27 02:55:02 -0400 (Thu, 27 May 2010)
New Revision: 22358
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/browse/JBIDE-6344, reverting changes which has been made in scope
JBIDE-6107
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 2010-05-27
06:48:07 UTC (rev 22357)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-05-27
06:55:02 UTC (rev 22358)
@@ -1121,7 +1121,8 @@
// uncommented next code
// reason != nsISelectionListener.NO_REASON
reason == nsISelectionListener.KEYPRESS_REASON
- || reason == nsISelectionListener.SELECTALL_REASON)
+ || reason == nsISelectionListener.SELECTALL_REASON
+ || (reason & nsISelectionListener.MOUSEDOWN_REASON) ==
nsISelectionListener.MOUSEDOWN_REASON)
{
if (VpeDebug.PRINT_VISUAL_SELECTION_EVENT) {
System.out