Author: koen.aers(a)jboss.com
Date: 2011-10-06 04:32:48 -0400 (Thu, 06 Oct 2011)
New Revision: 35415
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java
Log:
JBIDE-9804: Improvement => Remove MouseListener
Modified:
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java
===================================================================
---
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java 2011-10-06
08:17:01 UTC (rev 35414)
+++
trunk/forge/plugins/org.jboss.tools.forge.ui/src/org/jboss/tools/forge/ui/console/ForgeTextViewer.java 2011-10-06
08:32:48 UTC (rev 35415)
@@ -18,8 +18,6 @@
import org.eclipse.swt.graphics.Color;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
import org.jboss.tools.forge.core.io.ForgeAnsiCommandFilter;
import org.jboss.tools.forge.core.io.ForgeHiddenOutputFilter;
import org.jboss.tools.forge.core.io.ForgeOutputListener;
@@ -107,12 +105,6 @@
}
}
});
- getTextWidget().addListener(SWT.MouseUp, new Listener() {
- @Override
- public void handleEvent(Event event) {
- getTextWidget().setCaretOffset(caretOffset);
- }
- });
}
protected StyledText createTextWidget(Composite parent, int styles) {
Show replies by date