Revision: 5637
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=5637&view=rev
Author: gerdwagner
Date: 2010-05-30 22:54:27 +0000 (Sun, 30 May 2010)
Log Message:
-----------
RSyntax: Turned off drag and drop inside the editor. It conflicted with our
drag and drop feature for files and caused editor texts to vanish. See bug #3006515.
Modified Paths:
--------------
trunk/sql12/doc/changes.txt
trunk/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/rsyntax/RSyntaxSQLEntryPanel.java
Modified: trunk/sql12/doc/changes.txt
===================================================================
--- trunk/sql12/doc/changes.txt 2010-05-30 18:35:50 UTC (rev 5636)
+++ trunk/sql12/doc/changes.txt 2010-05-30 22:54:27 UTC (rev 5637)
@@ -6,6 +6,9 @@
Bug-fixes:
+RSyntax: Turned off drag and drop inside the editor. It conflicted with our
+drag and drop feature for files and caused editor texts to vanish. See bug #3006515.
+
RSyntax: When code reformatting was used on Windows, carriage return chars (\r) where inserted in the editor.
These chars made keyboard arrow keys fail: If you stepped over an \r the key hit did nothing.
Modified: trunk/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/rsyntax/RSyntaxSQLEntryPanel.java
===================================================================
--- trunk/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/rsyntax/RSyntaxSQLEntryPanel.java 2010-05-30 18:35:50 UTC (rev 5636)
+++ trunk/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/rsyntax/RSyntaxSQLEntryPanel.java 2010-05-30 22:54:27 UTC (rev 5637)
@@ -84,6 +84,14 @@
dt = new DropTarget(_textArea, new FileEditorDropTargetListener(session));
+
+
+ //////////////////////////////////////////////////////////////////////
+ // Dragging inside the text area itself conflicts with file dnd
+ // so we disable it. See bug #3006515
+ _textArea.setDragEnabled(false);
+ //
+ ////////////////////////////////////////////////////////////////////
}
public int getCaretLineNumber()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|