From: <sh...@us...> - 2009-12-01 17:54:31
|
Revision: 16573 http://jedit.svn.sourceforge.net/jedit/?rev=16573&view=rev Author: shlomy Date: 2009-12-01 17:54:23 +0000 (Tue, 01 Dec 2009) Log Message: ----------- Disabled text selection using right-click and drag. Right click should only show the context menu, it should not select text. The ability to select text using right-click is confusing. Modified Paths: -------------- jEdit/trunk/org/gjt/sp/jedit/textarea/TextAreaMouseHandler.java Modified: jEdit/trunk/org/gjt/sp/jedit/textarea/TextAreaMouseHandler.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/textarea/TextAreaMouseHandler.java 2009-12-01 16:34:49 UTC (rev 16572) +++ jEdit/trunk/org/gjt/sp/jedit/textarea/TextAreaMouseHandler.java 2009-12-01 17:54:23 UTC (rev 16573) @@ -283,6 +283,9 @@ @Override public void mouseDragged(MouseEvent evt) { + if (isPopupTrigger(evt)) + return; + if(maybeDragAndDrop) { textArea.startDragAndDrop(evt,control); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |