This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 202570 - Drag&drop does not support rectangular selection
Summary: Drag&drop does not support rectangular selection
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1
Hardware: PC Other
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 244355 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-09-23 15:03 UTC by Jiri Prox
Modified: 2016-07-07 07:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2011-09-23 15:03:41 UTC
Drag&drop does not support rectangular selection

Steps to reproduce:
1) have some file
2) turn on rectangular selection and select some text
3) use mouse to move selected area
-> the text is moved as it was regular selection
Comment 1 eskild 2012-02-03 12:41:24 UTC
I'll even be a bit harsh and say that rectangular selection is only an alpha-level feature at the moment. For it to be useful, it must be transparent for all IDE features that work on selections.

Case in point: I needed to up-case a particular column:

FOO1 bar1 BAZ1
FOO2 bar2 BAZ2

and I wanted bar => BAR. Rectangular selection to the rescue, yes?++ I think NOT...

FOO1 BAR1 baz1
foo2 BAR2 BAZ2

So, it operated on the good old-style start- and end-of-selection markers (before the 'b' in the first line, to after the 'r' in the second).

Of course, it's semi-documented, but it's certainly surprising!

And cut-and-paste doesn't work for me either; it behaves really strangely (for C/C++; don't know about other languages). For example, I can't paste at all.

IMHO, it's a mess. It should not be enabled in a production release.
Comment 2 Miloslav Metelka 2012-05-30 08:27:28 UTC
Reproduced.
Comment 3 Jiri Prox 2014-05-07 14:56:56 UTC
*** Bug 244355 has been marked as a duplicate of this bug. ***
Comment 4 Martin Balin 2016-07-07 07:29:38 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss