Bug 326124 - [block selection] Modifier + drag to perform rectangular selection
Summary: [block selection] Modifier + drag to perform rectangular selection
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P5 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 04:33 EDT by Timothy Mowlem CLA
Modified: 2017-11-29 08:02 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Mowlem CLA 2010-09-24 04:33:09 EDT
Build Identifier: 3.7M2a

When the user wants to do rectangular selection they need to click a toolbar button first. They then need to click the same toolbar button to exit rectangular selection mode.

If would be helpful if holding down a modifier key while dragging enabled rectangular selection as this would be quicker for a single selection. TextMate and several other text editors have this feature and it is very handy.

Reproducible: Always

Steps to Reproduce:
1. N/A
2.
3.
Comment 1 Dani Megert CLA 2010-09-24 04:48:11 EDT
You can use Alt+Shift+A or assign your own key binding to 'Toggle Block Selection' command.
Comment 2 Nathan Sweet CLA 2016-10-21 10:12:28 EDT
A hotkey has a similar workflow issue with clicking a toolbar button: turning it on and off add steps that slow down text editing. Compare with Notepad++ (which uses Scintilla) where alt+drag with the mouse or shift+alt+arrow with the keyboard makes it very fast and efficient to make a block selection. The dedicated block selection mode is still useful, but being able to make block selections without entering the mode is also very convenient.

Enabling block selection without entering a dedicated mode is slightly different when pasting. I propose to remember the type of selection when copied (block or normal) then use that same type when pasting.
Comment 3 Stephen Bennett CLA 2017-04-05 13:10:11 EDT
Similarly SlickEdit has right-click drag for block selection and allows block pasting of content copied by that method (as suggested by Nathan).  This is slightly more optimal from a workflow perspective and existing shift+arrow block-edit mode compatibility would be a bonus.