[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion: Make drag-and-drop default in NSTextView
From: |
Yen-Ju Chen |
Subject: |
Re: Suggestion: Make drag-and-drop default in NSTextView |
Date: |
Sat, 10 Jul 2004 22:39:43 -0400 |
From: Alexander Malmberg <alexander@malmberg.org>
To: discuss-gnustep@gnu.org
Subject: Re: Suggestion: Make drag-and-drop default in NSTextView
Date: Sun, 11 Jul 2004 02:19:47 +0200
Yen-Ju Chen wrote:
> Sorry that now I realize that NSTextView does support drop by default.
> (Thanx help from Boibles@hotmail...).
> I use a custom NSTextView in Gorm.
> But I still need to register (ForDraggedTypes:) this custom NSTextView
in
> order to receive drop action,
I think that's expected, at least according to the documentation. Is the
text view editable? Rich text? What types are you registering?
The text view is editable, non-rich, and register for NSStringPboardType.
It works, but not expect to register. Not a big problem, just different
from Cocoa.
> which is not necessary in Cocoa.
> And the cursor does not follow the mouse when drop.
> Does it count for bug ?
Maybe, but I'm not sure what you mean. cursor==icon?
Sorry for using the wrong word.
I mean the "insert point" (look like "I") does not follow the mouse (and
dragging icon).
It aways drops at the location where the insert point is before the
drag-and-drop.
For example, I place the insert point at location "a", and drag-and-drop
from other application.
It always fall on "a", not where the mouse is.
- Alexander Malmberg
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
_________________________________________________________________
MSN Life Events gives you the tips and tools to handle the turning points in
your life. http://lifeevents.msn.com