Drag and drop into the SSE [message #200434] |
Mon, 24 September 2007 17:31  |
Eclipse User |
|
|
|
On the Europa release, when I drag and drop in the editor from the
navigator, It inserts it one less than where I drop it,
for example I start with:
<test id="test1"></test>
dnd from the navigator and dropping after the last > will give me
<test id="test1"></test"WebContent/NewFile4.xml">
this is what I expected (works in 1.x):
<test id="test1"></test>"WebContent/NewFile4.xml"
In 1.x of WTP I saw the expected behavior. Is this working as designed
or a bug. If the latter, let me know and Ill write it up.
Brian Jakubik
|
|
|
|
Re: Drag and drop into the SSE [message #200632 is a reply to message #200474] |
Wed, 26 September 2007 12:12  |
Eclipse User |
|
|
|
Thanks Nitin, Bug 204703 has been added to the database.
Nitin Dahyabhai wrote:
> Brian Jakubik wrote:
>> On the Europa release, when I drag and drop in the editor from the
>> navigator, It inserts it one less than where I drop it,
>>
>> for example I start with:
>> <test id="test1"></test>
>>
>> dnd from the navigator and dropping after the last > will give me
>> <test id="test1"></test"WebContent/NewFile4.xml">
>>
>> this is what I expected (works in 1.x):
>> <test id="test1"></test>"WebContent/NewFile4.xml"
>>
>> In 1.x of WTP I saw the expected behavior. Is this working as designed
>> or a bug. If the latter, let me know and Ill write it up.
>
> It works fine with 3.4 M2, so strangely there was a change in behavior
> in the base that fixes the problem for us but which doesn't seem to
> affect the default drag and drop support either way. Our own DND
> classes haven't been touched since before 2.0 was released, but changes
> in when StyledText.getOffsetAtLocation(Point) throws Exceptions might be
> responsible. Please open a bug, but it's not catastrophic enough for
> 2.0.1 at this point.
>
> --
> Nitin Dahyabhai
> Structured Source Editing
|
|
|
Powered by
FUDForum. Page generated in 2.06934 seconds