Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Drag and Drop on Text Widgets
Drag and Drop on Text Widgets [message #445180] Wed, 27 October 2004 15:06 Go to next message
Eclipse UserFriend
Originally posted by: mschnelte.gmx.de

Hi everyone,

IŽm new to swt and I am currently checking out SWT as an alternative to
swing.
For the Project drag and drop is essential.
I did not find any example for Drag and Drop on text widgets so I adapted
the example that was
provided for a label (see
http://www.eclipse.org/articles/Article-SWT-DND/DND-in-SWT.h tml).

Well, the problem is, that I cannot drag text out of the text widget. When
I am trying to drag the
currently selected text, the editor selects new text instead of draging
the current selection.
What am I doing wrong?

BTW: On the mac i can drag the selection by pressing the ctrl key when
clicking into the selection.

Is it possible to bind the text on the mouse courser when draging? As one
can find for example in
TextEdit on the mac?

Thanks in advance

Matthias
Re: Drag and Drop on Text Widgets [message #445189 is a reply to message #445180] Wed, 27 October 2004 18:13 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
I am in the process of adding support in 3.1 for dragging selected text in a
Text widget. It is not yet supported.

See:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=4509

"Matthias Schnelte" <mschnelte@gmx.de> wrote in message
news:clodi1$g8n$1@eclipse.org...
> Hi everyone,
>
> I
Re: Drag and Drop on Text Widgets [message #445191 is a reply to message #445189] Wed, 27 October 2004 20:16 Go to previous message
Eclipse UserFriend
Originally posted by: mschnelte.gmx.de

This is a multi-part message in MIME format.
--------------040702010909070402010304
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi Veronika,


> Text widget. It is not yet supported.
>
> See:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=4509
>
hmmm, not good.
Any Idea when this problem will be solved?

While I was checking out this bug, I noticed that the behaviour is
different on Windows and Mac (Mac OS 10.3.5).

On Windows the problem is as descibed in bug 4509.
On the mac it
Previous Topic:Workaround for 69304 (table headers disappearing when inside a Form)
Next Topic:Windows XP 64bit support
Goto Forum:
  


Current Time: Sun Oct 25 09:01:33 GMT 2020

Powered by FUDForum. Page generated in 0.01581 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top