Author: mareshkau
Date: 2010-05-27 02:24:26 -0400 (Thu, 27 May 2010)
New Revision: 22356
Modified:
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
Log:
https://jira.jboss.org/browse/JBIDE-6344, revert changes from JBIDE-6107
Modified:
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java
===================================================================
---
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-05-27
05:47:54 UTC (rev 22355)
+++
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeController.java 2010-05-27
06:24:26 UTC (rev 22356)
@@ -1075,7 +1075,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