Bug 157362 - Eclipse/CDT needs a column select feature
Summary: Eclipse/CDT needs a column select feature
Status: RESOLVED DUPLICATE of bug 19771
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL: http://lynch007@gmail.com
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 13:49 EDT by James P. Lynch CLA
Modified: 2006-09-15 02:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James P. Lynch CLA 2006-09-14 13:49:15 EDT
Eclipse/CDT is wonderful, but it misses one important editing feature that was available in previous professional editors such as Brief, CodeWright, etc.

That missing feature is the "column select" wherein dragging the mouse with the "right-button" down selects characters in a rectangle or box. When saved to the clipboard, this rectangle of characters can be inserted anywhere in the source file and it merely displaces characters "to the right" to make room for the insert.

For example, here are some nonsense source lines:

	WWW0123456789XXXX
	WWWThe ChimesYYYY
	WWWof FreedomZZZZ
	WWWFlashing!!QQQQ
	WWW0123456789RRRR
	WWW0123456789SSSS

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ

I can drag a rectangle around "The Chimes of Freedom!!" above and
insert it into the text below it; it merely displaces characters to 
the right to make the inserted text fit.

	WWW0123456789XXXX
	WWWThe ChimesYYYY
	WWWof FreedomZZZZ
	WWWFlashing!!QQQQ
	WWW0123456789RRRR
	WWW0123456789SSSS

ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLThe ChimesMNOPQRSTUVWXYZ
ABCDEFGHIJKLof FreedomMNOPQRSTUVWXYZ
ABCDEFGHIJKLFlashing!!MNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZ

There is a "Column Copy/Paste" plugin from SourceForge, but it 
doesn't do this operation; certainly not with a simple mouse
drag-and-drop. I'm amazed that the Eclipse/CDT developers missed this one.

Cheers,
Jim Lynch
Comment 1 Anton Leherbauer CLA 2006-09-15 02:47:54 EDT
You are indeed not the first one.

*** This bug has been marked as a duplicate of 19771 ***